diff options
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" |