updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / alock-svn / PKGBUILD
blob61468790ba6df3a3f4fb8203160a31975e3257a7
1 # Contributor: Viliam Pucik <viliam dot pucik at gmail dot com>
3 pkgname=alock-svn
4 pkgver=94
5 pkgrel=3
6 pkgdesc="Minimal (transparent) screenlocker for X, formerly based on xtrlock"
7 arch=('i686' 'x86_64')
8 url="http://code.google.com/p/alock/"
9 license=('MIT')
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')
16 build() {
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