aboutsummaryrefslogtreecommitdiffstats
path: root/main/damageproto
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-03 22:29:54 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2017-09-19 10:51:29 +0000
commitfc6813c493d27932357cd42ca13a57fa73d86394 (patch)
tree9a34b83cc58c00a3369965130bca4cc14916036c /main/damageproto
parent6eb60f96087d93e40c816bef3e5703ca431b2c84 (diff)
downloadaports-fc6813c493d27932357cd42ca13a57fa73d86394.tar.bz2
aports-fc6813c493d27932357cd42ca13a57fa73d86394.tar.xz
main/damageproto: fix deps, modernise, add -doc, mark no test
Diffstat (limited to 'main/damageproto')
-rw-r--r--main/damageproto/APKBUILD26
1 files changed, 13 insertions, 13 deletions
diff --git a/main/damageproto/APKBUILD b/main/damageproto/APKBUILD
index a75b161107..235ceb036c 100644
--- a/main/damageproto/APKBUILD
+++ b/main/damageproto/APKBUILD
@@ -1,34 +1,34 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=damageproto
pkgver=1.2.1
-pkgrel=2
+pkgrel=3
pkgdesc="X11 Damage extension wire protocol"
url="http://xorg.freedesktop.org/"
-arch="all"
+arch="noarch"
+options="!check" # No test suite.
license="custom"
depends=""
-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"
+ 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 "$srcdir"/$pkgname-$pkgver
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
sha512sums="f124e85fb3cc70ed3536cb9db57ac93461bbb5df1a713bc6b67a5ea49122556c321781ca150df681502f6ccfb7305f290e131ad25ce9ccbff5af268df11c86fc damageproto-1.2.1.tar.bz2"