aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-input-mouse
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-04-04 10:25:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-04-04 13:23:03 +0000
commit6eda9c7e34e4bf2e113ff9f7c3eaa2e5797a317b (patch)
treeb61b9be1893c8366493116aef949d5cc5d4dc5b3 /main/xf86-input-mouse
parent53ddbcbbfb9ccf40ec22e274c75ca701370a6b43 (diff)
downloadaports-6eda9c7e34e4bf2e113ff9f7c3eaa2e5797a317b.tar.bz2
aports-6eda9c7e34e4bf2e113ff9f7c3eaa2e5797a317b.tar.xz
main/xf86-input-mouse: upgrade to 1.9.2
Diffstat (limited to 'main/xf86-input-mouse')
-rw-r--r--main/xf86-input-mouse/APKBUILD25
1 files changed, 15 insertions, 10 deletions
diff --git a/main/xf86-input-mouse/APKBUILD b/main/xf86-input-mouse/APKBUILD
index 45137b9290..0404164e9e 100644
--- a/main/xf86-input-mouse/APKBUILD
+++ b/main/xf86-input-mouse/APKBUILD
@@ -1,24 +1,26 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-input-mouse
-pkgver=1.9.1
-pkgrel=2
+pkgver=1.9.2
+pkgrel=0
pkgdesc="X.org mouse input driver"
url="http://xorg.freedesktop.org/"
arch="all"
-license="custom"
+license="MIT"
subpackages="$pkgname-doc $pkgname-dev"
depends=
makedepends="libxkbfile-dev xorg-server-dev libxi-dev libxrandr-dev"
source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"
-_builddir="$srcdir/$pkgname-$pkgver"
+builddir="$srcdir/$pkgname-$pkgver"
prepare() {
- cd "$_builddir"
+ cd "$builddir"
+ default_prepare
+ update_config_sub
}
build() {
- cd "$_builddir"
+ cd "$builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
@@ -28,11 +30,14 @@ build() {
make || return 1
}
+check() {
+ cd "$builddir"
+ make check
+}
+
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
-md5sums="77085b649c5c0b333565ba562f573951 xf86-input-mouse-1.9.1.tar.bz2"
-sha256sums="3485d375779c08406f0789feedde15933dc703158a086ddac638598f479fc5ce xf86-input-mouse-1.9.1.tar.bz2"
-sha512sums="0b9647c21b949fe5b357de29028d823b5d385ebb5c59fddd53a11fceae3bf65e25bb988ac05d833abe7e071f6813d5a4dc4cdf61d240fc8a4f591866a86b5926 xf86-input-mouse-1.9.1.tar.bz2"
+sha512sums="30fdc4f699d434e2fb4a9f8d2f4f980538d646a6e4d2d572737fc5498c0bce0fb1ba080173ea0aa3480f574dde3f58d5a7ac837afdb29640ccb092b3f18ff209 xf86-input-mouse-1.9.2.tar.bz2"