1 # Contributor: Viliam Pucik <viliam dot pucik at gmail dot com>
6 pkgdesc="Minimal (transparent) screenlocker for X, formerly based on xtrlock"
8 url="http://code.google.com/p/alock/"
10 depends=('pam' 'imlib2' 'libxcursor' 'libxpm')
11 makedepends=('gcc' 'make')
12 source=(http://alock.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2 nodocs.patch)
13 md5sums=('8a335bccc0543b14d408d761dce09228'
14 '38191cea18fe934a9ff6cddb31fb6ef6')
17 cd ${srcdir}/${pkgname}-${pkgver}/
18 patch -p1 -i ${srcdir}/nodocs.patch
19 ./configure --prefix /usr --with-xrender --with-xcursor --with-imlib2 --with-xpm --with-pam --with-hash
20 make DESTDIR=${pkgdir} install
21 install -m 644 -D ${srcdir}/${pkgname}-${pkgver}/LICENSE.txt ${pkgdir}/usr/share/licenses/alock-svn/LICENSE.txt