diff options
author | Daniel Sabogal <dsabogalcc@gmail.com> | 2016-08-27 10:46:07 -0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-08-28 02:53:53 +0000 |
commit | 8b8171fe81b3e2e4972802cfff1332abdb4f0768 (patch) | |
tree | 752022e157bb8432b2a6cc0f6bf29e5930a990c7 /main/libevdev/APKBUILD | |
parent | 5b4bcd5724e814c16a968999f7d5f2f3c15e0b47 (diff) | |
download | aports-8b8171fe81b3e2e4972802cfff1332abdb4f0768.tar.bz2 aports-8b8171fe81b3e2e4972802cfff1332abdb4f0768.tar.xz |
main/libevdev: improve abuild
Diffstat (limited to 'main/libevdev/APKBUILD')
-rw-r--r-- | main/libevdev/APKBUILD | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/main/libevdev/APKBUILD b/main/libevdev/APKBUILD index f20d158782..8e2ec316e8 100644 --- a/main/libevdev/APKBUILD +++ b/main/libevdev/APKBUILD @@ -1,31 +1,20 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libevdev pkgver=1.5.3 -pkgrel=0 +pkgrel=1 pkgdesc="Kernel Evdev Device Wrapper Library" url="https://www.freedesktop.org/wiki/Software/libevdev" arch="all" license="MIT" depends="" -depends_dev="" -makedepends="$depends_dev python linux-headers" -install="" +makedepends="python linux-headers" subpackages="$pkgname-dev $pkgname-doc" -source="https://freedesktop.org/software/${pkgname}/${pkgname}-${pkgver}.tar.xz" +source="https://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz" -_builddir="$srcdir"/libevdev-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -39,7 +28,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } |