diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-08 19:21:35 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-19 10:51:29 +0000 |
commit | 8c76ff54d4404b4fb06a501ac2a728a174cbbb5c (patch) | |
tree | 70a5e0f8533be35341a38f1e44b258ff5229226b /main/resourceproto | |
parent | 8ce68ae56ce487aa6e8fa4f6290eeb4f22cd7c61 (diff) | |
download | aports-8c76ff54d4404b4fb06a501ac2a728a174cbbb5c.tar.bz2 aports-8c76ff54d4404b4fb06a501ac2a728a174cbbb5c.tar.xz |
main/resourceproto: modernise, -doc, deps, no test
Diffstat (limited to 'main/resourceproto')
-rw-r--r-- | main/resourceproto/APKBUILD | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/main/resourceproto/APKBUILD b/main/resourceproto/APKBUILD index aac3553be1..24d1bae34a 100644 --- a/main/resourceproto/APKBUILD +++ b/main/resourceproto/APKBUILD @@ -1,34 +1,34 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=resourceproto pkgver=1.2.0 -pkgrel=1 +pkgrel=2 pkgdesc="X11 Resource extension wire protocol" url="http://xorg.freedesktop.org/" arch="noarch" license="custom" +options="!check" # No test suite. 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 "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } sha512sums="ce8c8fda178ac7fb22b192d4a0f707a96f42ecd550ae8e6ddd7e1ed0067951ef955f7bee60f63a2b2422176e5f093c38e3903f7c4e5e3bea230b934b7abcc4ca resourceproto-1.2.0.tar.bz2" |