diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-08 18:43:59 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-19 10:51:29 +0000 |
commit | 777d891670a3f74fc4f399610efd66bc4ea93466 (patch) | |
tree | 497f6881395daed94fb414c6d454585dc00c6098 /main/fontsproto/APKBUILD | |
parent | 2ab4208a9a5517377b38bd6a819efe8d7fd867f9 (diff) | |
download | aports-777d891670a3f74fc4f399610efd66bc4ea93466.tar.bz2 aports-777d891670a3f74fc4f399610efd66bc4ea93466.tar.xz |
main/fontsproto: modernise, fix deps, add -doc, no tests
Diffstat (limited to 'main/fontsproto/APKBUILD')
-rw-r--r-- | main/fontsproto/APKBUILD | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/main/fontsproto/APKBUILD b/main/fontsproto/APKBUILD index 0d2894e3cf..00f42927ed 100644 --- a/main/fontsproto/APKBUILD +++ b/main/fontsproto/APKBUILD @@ -1,34 +1,29 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=fontsproto pkgver=2.1.3 -pkgrel=1 +pkgrel=2 pkgdesc="X11 font 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" -} - 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 } md5sums="36934d00b00555eaacde9f091f392f97 fontsproto-2.1.3.tar.bz2" sha256sums="259046b0dd9130825c4a4c479ba3591d6d0f17a33f54e294b56478729a6e5ab8 fontsproto-2.1.3.tar.bz2" |