From deee15f5f9d42d5b83fbc4ec7368b3ae8d1bafe9 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 4 Apr 2017 10:31:50 +0000 Subject: main/xf86-input-libinput: move to main, claim maintainership --- main/xf86-input-libinput/APKBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 main/xf86-input-libinput/APKBUILD (limited to 'main') 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 +# Maintainer: Natanael Copa +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" -- cgit v1.2.3