updated on Thu Jan 19 04:14:35 UTC 2012
[aur-mirror.git] / xtrlock / PKGBUILD
blob7f34f97315a41105e739c424dd2cbeee3fbde893
1 # Previous contributor: Michal Hybner <dta081@gmail.com>
2 pkgname=xtrlock
3 pkgver=2.0
4 pkgrel=3
5 pkgdesc="Minimal X display lock program"
6 arch=('i686' 'x86_64')
7 url="http://packages.debian.org/xtrlock"
8 license=('GPL')
9 depends=('libx11')
10 source=(http://ftp.debian.org/debian/pool/main/x/xtrlock/xtrlock_${pkgver}-14.tar.gz)
11 changelog=$pkgname.changelog
12 md5sums=('c5155d2d990fbc5e8a51f9e85396165e')
14 build() {
15         cd ${srcdir}/${pkgname}-${pkgver}/
16         make -f Makefile.noimake CFLAGS="-DSHADOW_PWD" LDLIBS="-lX11 -lcrypt" xtrlock || return 1
19 package() {
20         install -D --mode=4755 --verbose ${srcdir}/${pkgname}-${pkgver}/xtrlock ${pkgdir}/usr/bin/xtrlock
21         install -D --mode=644 --verbose ${srcdir}/${pkgname}-${pkgver}/xtrlock.man ${pkgdir}/usr/share/man/man1/xtrlock.1x
24 # vim:set ts=2 sw=2 et: