# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin # Maintainer: dorphell pkgname=xlockmore pkgver=5.26.1 pkgrel=1 pkgdesc="screen saver / locker for the X Window System" arch=(i686 x86_64) license=('BSD') depends=(freetype2 gtk2 libxpm lesstif pam mesa esd) url="http://www.tux.org/~bagleyd/xlockmore.html" options=('!makeflags') source=(http://www.tux.org/~bagleyd/xlock/xlockmore-$pkgver/xlockmore-$pkgver.tar.bz2 \ LICENSE) md5sums=('db7faeb82074a5a1593ce60297c13f20' 'a64afab4283f53972a6702c2e59850d7') build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --disable-setuid \ --enable-appdefaultdir=/usr/share/X11/app-defaults \ --enable-pam --with-gtk2 --with-esound --without-ftgl make || return 1 make xapploaddir=${startdir}/pkg/usr/share/X11/app-defaults \ mandir=${startdir}/pkg/usr/man/man1 \ prefix=$startdir/pkg/usr install || return 1 install -D -m644 ../LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE && \ mv $pkgdir/usr/man $pkgdir/usr/share/ }