diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-03 14:36:15 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-19 10:51:29 +0000 |
commit | ea49699ac3a4f8828c15e8048f8e241357ee31e4 (patch) | |
tree | 2f667dc6ac67020255f0e6997e8e2242e28aa5c4 /main/renderproto | |
parent | 0bf5dbbbfbe7f87b06f5d7823557ed652c008e39 (diff) | |
download | aports-ea49699ac3a4f8828c15e8048f8e241357ee31e4.tar.bz2 aports-ea49699ac3a4f8828c15e8048f8e241357ee31e4.tar.xz |
main/renderproto: modernise, mark as having no test suite
Diffstat (limited to 'main/renderproto')
-rw-r--r-- | main/renderproto/APKBUILD | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/main/renderproto/APKBUILD b/main/renderproto/APKBUILD index b2afba204b..5bb8996a8c 100644 --- a/main/renderproto/APKBUILD +++ b/main/renderproto/APKBUILD @@ -1,36 +1,35 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=renderproto pkgver=0.11.1 -pkgrel=2 +pkgrel=3 pkgdesc="X11 Render extension wire protocol" url="http://xorg.freedesktop.org/" arch="all" 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" + 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 "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } sha512sums="c38bc7247fd7b89732c892ee41c061b20397f4e79195601b7015dd55054b966f0797ac3990b147f80234596ba2c201ce90e292ecefed2e133167955bca70acc5 renderproto-0.11.1.tar.bz2" |