aboutsummaryrefslogtreecommitdiffstats
path: root/main/libevdev/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libevdev/APKBUILD')
-rw-r--r--main/libevdev/APKBUILD23
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
}