summaryrefslogtreecommitdiff
path: root/community/xlockmore/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/xlockmore/PKGBUILD')
-rw-r--r--community/xlockmore/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/xlockmore/PKGBUILD b/community/xlockmore/PKGBUILD
new file mode 100644
index 000000000..c2a39a992
--- /dev/null
+++ b/community/xlockmore/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 42698 2011-03-19 21:23:28Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: dorphell <dorphell@archlinux.org>
+
+pkgname=xlockmore
+pkgver=5.33
+pkgrel=1
+pkgdesc="screen saver / locker for the X Window System"
+arch=(i686 x86_64)
+license=('BSD')
+depends=(freetype2 gtk2 libxpm lesstif pam mesa esound libxmu)
+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=('8ae31d03f836e768cd888198c5f1a5f8'
+ 'a64afab4283f53972a6702c2e59850d7')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ ./configure --prefix=/usr --disable-setuid \
+ --enable-appdefaultdir=/usr/share/X11/app-defaults \
+ --enable-pam --with-gtk2 --with-esound --without-ftgl
+ make
+ 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/
+}