1 # Maintainer: Edward Tjörnhammar <xhemi@cube2.se>
2 # Contributor: Michal Hybner <dta081@gmail.com>
3 # Additional Contributor: Edward Tjörnhammar <xhemi@cube2.se>
7 pkgdesc="Minimal X display locking program"
9 url="http://packages.debian.org/xtrlock"
13 depends=('libx11' 'pam')
14 source=(http://ftp.debian.org/debian/pool/main/x/xtrlock/xtrlock_${pkgver}-12.tar.gz)
15 md5sums=('be75a389f84fa9548ee04f367480f23e')
20 pushd $_S/${pkgname%%-pam}-$pkgver/
21 patch -p1 < ../../pam.patch
22 make -f Makefile.noimake CFLAGS="-DSHADOW_PWD" LDLIBS="-lX11 -lcrypt" xtrlock || return 1
23 install -D --mode=4755 --verbose xtrlock $_D/usr/bin/xtrlock
24 install -D --mode=644 --verbose xtrlock.man $_D/usr/man/man1/xtrlock.1x