summaryrefslogtreecommitdiff
path: root/user/xf86-input-synaptics/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-23 04:46:37 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-23 04:46:37 -0500
commit928ee8558a3eec0fa3044c9008f2f84bfd472d61 (patch)
tree922d7394b058b6b53485289dc3f419ea28b16862 /user/xf86-input-synaptics/APKBUILD
parenta0a7fb4a776fe897349a6418e7b45c1f67077570 (diff)
downloadpackages-928ee8558a3eec0fa3044c9008f2f84bfd472d61.tar.gz
packages-928ee8558a3eec0fa3044c9008f2f84bfd472d61.tar.bz2
packages-928ee8558a3eec0fa3044c9008f2f84bfd472d61.tar.xz
packages-928ee8558a3eec0fa3044c9008f2f84bfd472d61.zip
user/xf86-input-synaptics: pull in, take, bump to 1.9.1, fix
Diffstat (limited to 'user/xf86-input-synaptics/APKBUILD')
-rw-r--r--user/xf86-input-synaptics/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/xf86-input-synaptics/APKBUILD b/user/xf86-input-synaptics/APKBUILD
new file mode 100644
index 000000000..45de5e926
--- /dev/null
+++ b/user/xf86-input-synaptics/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xf86-input-synaptics
+pkgver=1.9.1
+pkgrel=0
+pkgdesc="X.Org input driver - Synaptics trackpads"
+url="https://www.X.Org/"
+arch="all"
+license="MIT"
+subpackages="$pkgname-doc $pkgname-dev"
+depends=""
+makedepends="libevdev-dev libxi-dev libxkbfile-dev libxrandr-dev libxtst-dev
+ mtdev-dev xorg-server-dev"
+source="https://www.X.Org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+sha512sums="978eddd456aa7361047bc3d72e5127b24b13de29b0dddb6a0acc9f9da93931baa2b22fb5d1e6be164f629a11e5d97d753b835426435396b45b1af5eb8d546c3f xf86-input-synaptics-1.9.1.tar.bz2"