diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-04-04 10:33:46 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-04-04 13:23:03 +0000 |
commit | 244b9830e32c8450431442ce9188b1768147f6b4 (patch) | |
tree | d197866a6053b7543fd40f41d50cb54fe16aaedd /main | |
parent | 00cd1f4302307e89c2896ced5a40b58ca162080e (diff) | |
download | aports-244b9830e32c8450431442ce9188b1768147f6b4.tar.bz2 aports-244b9830e32c8450431442ce9188b1768147f6b4.tar.xz |
main/libinput: move from community
needed by xf86-input-libinput
Diffstat (limited to 'main')
-rw-r--r-- | main/libinput/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/main/libinput/APKBUILD b/main/libinput/APKBUILD new file mode 100644 index 0000000000..3c855ca549 --- /dev/null +++ b/main/libinput/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> +# Maintainer: Daniel Sabogal <dsabogalcc@gmail.com> +pkgname=libinput +pkgver=1.7.0 +pkgrel=0 +pkgdesc="Library for handling input devices" +url="http://www.freedesktop.org/wiki/Software/libinput/" +arch="all" +license="custom" +depends="" +makedepends="mtdev-dev eudev-dev libevdev-dev grep" +subpackages="$pkgname-dev $pkgname-doc" +options="!check" +source="http://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz" + +builddir="$srcdir/$pkgname-$pkgver" +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --disable-libwacom \ + || return 1 + make +} + +package() { + make DESTDIR="$pkgdir" -C "$builddir" install +} + +sha512sums="9058eab813ea3de230835155ca843f248127cbafaf1aecc9a2e209a0215b090beef0468cc863a24320f8d0db1f2863baba680e2416e9e409e958b2c1d18e43a1 libinput-1.7.0.tar.xz" |