aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-08 19:46:14 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2017-09-19 10:51:29 +0000
commitfdc590f23a4882735f8d4408fe406fdb089d99e7 (patch)
tree723564ef6dfa32eaf01b60e00cd25d7be5645047 /main
parent006c4b635d4a86016136b01f956660e97ee8c307 (diff)
downloadaports-fdc590f23a4882735f8d4408fe406fdb089d99e7.tar.bz2
aports-fdc590f23a4882735f8d4408fe406fdb089d99e7.tar.xz
main/xf86miscproto: modernise, mark as having no test suite
Diffstat (limited to 'main')
-rw-r--r--main/xf86miscproto/APKBUILD20
1 files changed, 9 insertions, 11 deletions
diff --git a/main/xf86miscproto/APKBUILD b/main/xf86miscproto/APKBUILD
index 71c614eb85..989a47c08e 100644
--- a/main/xf86miscproto/APKBUILD
+++ b/main/xf86miscproto/APKBUILD
@@ -1,34 +1,32 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86miscproto
pkgver=0.9.3
-pkgrel=3
+pkgrel=4
pkgdesc="X11 XFree86-Miscellaneous extension wire protocol"
url="http://xorg.freedesktop.org/"
arch="noarch"
license="custom"
+options="!check" # No test suite.
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
}
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="b82370ee3aff3ee13c15ce645a74e6d927df0a2db01830a21fea4c36445495849d24410639525f02f369aabe8e1b6e6ab9acbfd3a41cb3cd7e6060a9c8ae320d xf86miscproto-0.9.3.tar.bz2"