diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-08 19:25:56 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-19 10:51:29 +0000 |
commit | 0b5d72feaa12ca519643bec354364de05b55a737 (patch) | |
tree | 048d9eaf8130ed3ae266aaced87c0baf00d69b84 /main/scrnsaverproto | |
parent | 8c76ff54d4404b4fb06a501ac2a728a174cbbb5c (diff) | |
download | aports-0b5d72feaa12ca519643bec354364de05b55a737.tar.bz2 aports-0b5d72feaa12ca519643bec354364de05b55a737.tar.xz |
main/scrnsaverproto: modernise, -doc, deps, no test
Diffstat (limited to 'main/scrnsaverproto')
-rw-r--r-- | main/scrnsaverproto/APKBUILD | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/main/scrnsaverproto/APKBUILD b/main/scrnsaverproto/APKBUILD index 0dd3502762..79948d3e03 100644 --- a/main/scrnsaverproto/APKBUILD +++ b/main/scrnsaverproto/APKBUILD @@ -1,36 +1,37 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=scrnsaverproto pkgver=1.2.2 -pkgrel=1 +pkgrel=2 pkgdesc="X11 Screen Saver extension wire protocol" url="http://xorg.freedesktop.org/" arch="noarch" license="custom" +options="!check" # No test suite. 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 install -m755 -d "$pkgdir"/usr/share/licenses/$pkgname - install -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/ || return 1 + install -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/ } sha512sums="e74a512a6101967983a1d713d22a1f456f77519998116ef0f0a9e4b44ae4730ecd41eb9c0f7fa53e9f5c94967541daf10693d701af832597f5347461c5990ebc scrnsaverproto-1.2.2.tar.bz2" |