aboutsummaryrefslogtreecommitdiffstats
path: root/main/fixesproto/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/fixesproto/APKBUILD')
-rw-r--r--main/fixesproto/APKBUILD26
1 files changed, 13 insertions, 13 deletions
diff --git a/main/fixesproto/APKBUILD b/main/fixesproto/APKBUILD
index 8ccb03dec0..265ef1bb18 100644
--- a/main/fixesproto/APKBUILD
+++ b/main/fixesproto/APKBUILD
@@ -1,34 +1,34 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fixesproto
pkgver=5.0
-pkgrel=1
+pkgrel=2
pkgdesc="X11 Fixes extension wire protocol"
url="http://xorg.freedesktop.org/"
-arch="all"
+arch="noarch"
license="custom"
+options="!check" # No test suite.
depends="xextproto"
-makedepends=""
+makedepends="util-macros"
+subpackages="$pkgname-doc"
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"
+ default_prepare
+ 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 "$srcdir"/$pkgname-$pkgver
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
sha512sums="93c6a8b6e4345c3049c08f2f3960f5eb5f92c487f26d227430964361bf82041b49e61f873fbbb8ee0e111556f90532b852c20e6082ee8008be641373251fa78c fixesproto-5.0.tar.bz2"