diff options
Diffstat (limited to 'main/xf86-input-libinput/APKBUILD')
-rw-r--r-- | main/xf86-input-libinput/APKBUILD | 37 |
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" |