# $Id: PKGBUILD 96760 2013-09-04 10:17:31Z spupykin $ # Maintainer: Brian Bidulock # Maintainer: Sergej Pupykin # Maintainer: dorphell pkgname=xlockmore-blank _pkgname=xlockmore pkgver=5.47 pkgrel=1 pkgdesc="screen saver / locker for the X Window System - blank only" arch=(i686 x86_64) license=('BSD') depends=(libxinerama mesa freetype2 libxpm libxmu glu) optdepends=('fortune-mod') provides=("$_pkgname") conflicts=("$_pkgname" "$_pkgname-nomotif") url="http://www.tux.org/~bagleyd/xlockmore.html" options=('!makeflags') source=(http://www.tux.org/~bagleyd/xlock/xlockmore-$pkgver.tar.xz LICENSE) md5sums=('d059df32d1673ce5a434a98a49606f3b' 'a64afab4283f53972a6702c2e59850d7') build() { cd "$srcdir/$_pkgname-$pkgver" ./configure --prefix=/usr --disable-setuid \ --enable-appdefaultdir=/usr/share/X11/app-defaults \ --enable-pam --with-gtk2 --without-esound --without-ftgl \ --without-motif --without-magick --without-rplay \ --without-gtk --without-gtk2 --enable-blank-only make } package() { cd "$srcdir/$_pkgname-$pkgver" make xapploaddir="$pkgdir/usr/share/X11/app-defaults" \ mandir="$pkgdir/usr/man/man1" \ prefix="$pkgdir/usr" install install -D -m644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" mv "$pkgdir/usr/man" "$pkgdir/usr/share/" }