From 0b5d72feaa12ca519643bec354364de05b55a737 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 8 Sep 2017 19:25:56 -0500 Subject: main/scrnsaverproto: modernise, -doc, deps, no test --- main/scrnsaverproto/APKBUILD | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'main/scrnsaverproto') 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 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" -- cgit v1.2.3