diff options
Diffstat (limited to 'community/slock/PKGBUILD')
-rw-r--r-- | community/slock/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community/slock/PKGBUILD b/community/slock/PKGBUILD new file mode 100644 index 000000000..94d990dd0 --- /dev/null +++ b/community/slock/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 34365 2010-12-06 15:14:05Z bluewind $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Sebastian A. Liem <sebastian at liem dot se> + +pkgname=slock +pkgver=0.9 +# Fix FS#21738 +_pkgver="4d3769ac5d02" +pkgrel=6 +pkgdesc="A simple screen locker for X" +arch=('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.bz2") +md5sums=('81ca629668cc81f41022fbd094bee3ee') + +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" +} |