aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86vidmodeproto
diff options
context:
space:
mode:
Diffstat (limited to 'main/xf86vidmodeproto')
-rw-r--r--main/xf86vidmodeproto/APKBUILD23
1 files changed, 11 insertions, 12 deletions
diff --git a/main/xf86vidmodeproto/APKBUILD b/main/xf86vidmodeproto/APKBUILD
index ce60e57a50..027c869140 100644
--- a/main/xf86vidmodeproto/APKBUILD
+++ b/main/xf86vidmodeproto/APKBUILD
@@ -1,34 +1,33 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86vidmodeproto
pkgver=2.3.1
-pkgrel=2
+pkgrel=3
pkgdesc="X11 Video Mode extension wire protocol"
url="http://xorg.freedesktop.org/"
arch="noarch"
license="custom"
+options="!check" # No test suite.
depends=""
-makedepends=""
+makedepends="util-macros"
source="http://www.x.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"
-_builddir="$srcdir/$pkgname-$pkgver"
-
prepare() {
- cd "$_builddir"
- update_config_sub || return 1
+ cd "$builddir"
+ update_config_sub
+ default_prepare
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
- --prefix=/usr \
- || return 1
- make || return 1
+ --prefix=/usr
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
sha512sums="d68784339271226a71360253b5f35d9cbec483801b4df3684bd070b1208a478edf9e5f55f1ff8ff186c81c56fb6e105e8cebad43d650cdbe605eed10bb7c7c50 xf86vidmodeproto-2.3.1.tar.bz2"