# $Id$ # Maintainer: Sergej Pupykin # Contributor: Sebastian A. Liem pkgname=slock pkgver=0.9 # Fix FS#21738 _pkgver="4d3769ac5d02" pkgrel=6 pkgdesc="A simple screen locker for X" arch=('mips64el' 'i686' 'x86_64') url="http://tools.suckless.org/slock" license=('MIT') depends=('libxext') #http://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz source=("slock-$pkgver.tar.bz2::http://hg.suckless.org/slock/archive/$_pkgver.tar.gz") md5sums=('3776b5a8abd64b97aa4f969f3ad3da31') build() { cd "$srcdir/slock-$_pkgver" make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 } package() { cd "$srcdir/slock-$_pkgver" make PREFIX=/usr DESTDIR="$pkgdir" install install -m644 -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }