aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86dgaproto
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-08 19:43:01 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2017-09-19 10:51:29 +0000
commit006c4b635d4a86016136b01f956660e97ee8c307 (patch)
treeaaf70824d9a61d6b22680eb54af01dcda9f030b7 /main/xf86dgaproto
parentcdbb8f7163ef56e9c57345b9a289e53fb5655da2 (diff)
downloadaports-006c4b635d4a86016136b01f956660e97ee8c307.tar.bz2
aports-006c4b635d4a86016136b01f956660e97ee8c307.tar.xz
main/xf86dgaproto: modernise, mark as having no test suite
Diffstat (limited to 'main/xf86dgaproto')
-rw-r--r--main/xf86dgaproto/APKBUILD21
1 files changed, 10 insertions, 11 deletions
diff --git a/main/xf86dgaproto/APKBUILD b/main/xf86dgaproto/APKBUILD
index b9fdd109cd..ff6bcc89cb 100644
--- a/main/xf86dgaproto/APKBUILD
+++ b/main/xf86dgaproto/APKBUILD
@@ -1,34 +1,33 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86dgaproto
pkgver=2.1
-pkgrel=3
+pkgrel=4
pkgdesc="X11 Direct Graphics Access extension wire protocol"
url="http://xorg.freedesktop.org/"
arch="noarch"
+options="!check" # No test suite.
license="custom"
depends=""
makedepends=""
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="dab56f5e59d1099d0d462e2f056e073c0ebde46aae6b9cf1c12b1fda43b5f21fb438dc811305c3114e04eb2fd2b1d13ddbe0a1d9a5c8155525db82db00e1461c xf86dgaproto-2.1.tar.bz2"