summaryrefslogtreecommitdiff
path: root/community/xlockmore/PKGBUILD
blob: caeb1e0187ae9ecf6de9c96ae3beb3383838d654 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 61691 2012-01-06 20:47:16Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: dorphell <dorphell@archlinux.org>

pkgname=xlockmore
pkgver=5.37
pkgrel=1
pkgdesc="screen saver / locker for the X Window System"
arch=(i686 x86_64 'mips64el')
license=('BSD')
depends=(freetype2 gtk2 libxpm lesstif pam mesa 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=('526863e7e01c5038de98b996a89d2ac4'
         '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
  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/
}