diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-08 19:26:07 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-19 10:51:29 +0000 |
commit | a9885d201628805e1e139abce9e06041e13673d0 (patch) | |
tree | a91645aec517dd36c7fdf9eb555bb48149615aa2 /main/xcmiscproto | |
parent | 0b5d72feaa12ca519643bec354364de05b55a737 (diff) | |
download | aports-a9885d201628805e1e139abce9e06041e13673d0.tar.bz2 aports-a9885d201628805e1e139abce9e06041e13673d0.tar.xz |
main/xcmiscproto: modernise, -doc, deps, no test
Diffstat (limited to 'main/xcmiscproto')
-rw-r--r-- | main/xcmiscproto/APKBUILD | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/main/xcmiscproto/APKBUILD b/main/xcmiscproto/APKBUILD index 189748b4db..7b63a48a88 100644 --- a/main/xcmiscproto/APKBUILD +++ b/main/xcmiscproto/APKBUILD @@ -1,34 +1,35 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=xcmiscproto pkgver=1.2.2 -pkgrel=1 +pkgrel=2 pkgdesc="X11 XC-Miscellaneous extension wire protocol" url="http://xorg.freedesktop.org/" arch="noarch" license="custom" +options="!check" depends="" -makedepends="" +makedepends="util-macros xmlto" +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 + --without-fop + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } sha512sums="33060d0f9bba92670fce6e42f5d9094e84b803fd07e61b159aafdbee40a9876b49cf844bc7bae4c628fbb11a6a0883a9ee07041b59290488f1e9dbfe6e5128a8 xcmiscproto-1.2.2.tar.bz2" |