aboutsummaryrefslogtreecommitdiffstats
path: root/main/xev
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-12-16 18:59:35 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-12-16 18:59:35 +0000
commitad50583419748c326be8fdf2c3cea1100096f2ff (patch)
tree6ea8af3ad107a30dd30e7e688c5d4da645c53498 /main/xev
parentced1e02903a233c6ca2a36e816cea9fd6946f0ed (diff)
downloadaports-ad50583419748c326be8fdf2c3cea1100096f2ff.tar.bz2
aports-ad50583419748c326be8fdf2c3cea1100096f2ff.tar.xz
main/{xev,xvinfo}: update config.sub and apkbuild
Diffstat (limited to 'main/xev')
-rw-r--r--main/xev/APKBUILD18
1 files changed, 15 insertions, 3 deletions
diff --git a/main/xev/APKBUILD b/main/xev/APKBUILD
index 2123a720b3..3fc649c7ee 100644
--- a/main/xev/APKBUILD
+++ b/main/xev/APKBUILD
@@ -10,9 +10,15 @@ subpackages="$pkgname-doc"
makedepends="pkgconfig libx11-dev"
depends=
source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
-build ()
-{
- cd "$srcdir"/$pkgname-$pkgver
+
+_builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
+build() {
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -20,7 +26,13 @@ build ()
--mandir=/usr/share/man \
|| return 1
make || return 1
+}
+
+package() {
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="a9532c3d1683c99bb5df1895cb3a60b1 xev-1.0.3.tar.bz2"
+sha256sums="d4ac7ae154ee9733be27a5f55586abb9362c768f5fb8a4fc7fd2645100a9313a xev-1.0.3.tar.bz2"
+sha512sums="b4668691ffa8a9687cc3709da6a321e43b349ba2733c5e57977c1712a68007295c1ec4984f81f0559bb4c8c4a90720a02797c1163baba4d309f2e1cdb25ac17e xev-1.0.3.tar.bz2"