aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-04-04 10:31:50 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-04-04 13:23:03 +0000
commitdeee15f5f9d42d5b83fbc4ec7368b3ae8d1bafe9 (patch)
tree5f6fd07866a4f3fde4c24f3ffe2378da6cbb1613 /main
parent244b9830e32c8450431442ce9188b1768147f6b4 (diff)
downloadaports-deee15f5f9d42d5b83fbc4ec7368b3ae8d1bafe9.tar.bz2
aports-deee15f5f9d42d5b83fbc4ec7368b3ae8d1bafe9.tar.xz
main/xf86-input-libinput: move to main, claim maintainership
Diffstat (limited to 'main')
-rw-r--r--main/xf86-input-libinput/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/main/xf86-input-libinput/APKBUILD b/main/xf86-input-libinput/APKBUILD
new file mode 100644
index 0000000000..55ab9f6646
--- /dev/null
+++ b/main/xf86-input-libinput/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=xf86-input-libinput
+pkgver=0.25.0
+pkgrel=0
+pkgdesc="X.Org input driver based on libinput"
+url="http://xorg.freedesktop.org/"
+arch="all"
+license="MIT"
+depends=""
+depends_dev="libinput-dev xorg-server-dev"
+makedepends="$depends_dev resourceproto scrnsaverproto"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://xorg.freedesktop.org/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2"
+
+builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+sha512sums="d9a22302d7f3d225fa50abef1a0667ff3609e1a26e20bb269272ab280ed7bb12e1f2ea42e5434fc1e0a04b944d7ffa190347b93a77e2638cc47eb55cf42a57e9 xf86-input-libinput-0.25.0.tar.bz2"