diff options
Diffstat (limited to 'main/xf86-input-evdev/APKBUILD')
-rw-r--r-- | main/xf86-input-evdev/APKBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/main/xf86-input-evdev/APKBUILD b/main/xf86-input-evdev/APKBUILD new file mode 100644 index 00000000..c7461d3f --- /dev/null +++ b/main/xf86-input-evdev/APKBUILD @@ -0,0 +1,26 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=xf86-input-evdev +pkgver=2.3.2 +pkgrel=0 +pkgdesc="X.org evdev input driver" +url="http://xorg.freedesktop.org/" +license="custom" +subpackages="$pkgname-dev $pkgname-doc" +depends= +makedepends="pkgconfig libxkbfile-dev xorg-server-dev libxi-dev libxrandr-dev" +source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2" + +build() { + cd "$srcdir"/$pkgname-$pkgver + + export LDFLAGS="$LDFLAGS -Wl,-z,lazy" + ./configure --prefix=/usr || return 1 + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + make DESTDIR="$pkgdir" install || return 1 + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} +md5sums="b2bfe368022eedf2671ee28daba31efc xf86-input-evdev-2.3.2.tar.bz2" |