aboutsummaryrefslogtreecommitdiffstats
path: root/main/compositeproto
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-05 23:18:27 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2017-09-19 10:51:29 +0000
commit2ab4208a9a5517377b38bd6a819efe8d7fd867f9 (patch)
tree08abe7090f46d48f1776a4451bc82da1d57b6745 /main/compositeproto
parent7810e1ad8b73baed308d62ad172ea8d43bfd4737 (diff)
downloadaports-2ab4208a9a5517377b38bd6a819efe8d7fd867f9.tar.bz2
aports-2ab4208a9a5517377b38bd6a819efe8d7fd867f9.tar.xz
main/compositeproto: noarch, fix deps, no test, add -doc, modernise
Diffstat (limited to 'main/compositeproto')
-rw-r--r--main/compositeproto/APKBUILD25
1 files changed, 13 insertions, 12 deletions
diff --git a/main/compositeproto/APKBUILD b/main/compositeproto/APKBUILD
index 56a4cebcc9..a9052e402d 100644
--- a/main/compositeproto/APKBUILD
+++ b/main/compositeproto/APKBUILD
@@ -1,34 +1,35 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=compositeproto
pkgver=0.4.2
-pkgrel=3
+pkgrel=4
pkgdesc="X11 Composite extension wire protocol"
url="http://xorg.freedesktop.org/"
-arch="all"
+arch="noarch"
license="MIT"
+options="!check" # No test suite.
depends="fixesproto"
-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 "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}