summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fb9e3794c7e4726893ee1c0a31927c2ebba4cb6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id$
# Maintainer:  Samuel Creshal <samuel@creshal.de>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sebastian A. Liem <sebastian at liem dot se>

pkgname=slockd
pkgver=1.2
pkgrel=2
conflicts=('slock')
replaces=('slock')
pkgdesc="A simple screen locker for X, daemonizing"
arch=('i686' 'x86_64')
url="http://tools.suckless.org/slock"
license=('MIT')
depends=('libxext')
source=("$pkgname-$pkgver.tar.gz::https://github.com/creshal/$pkgname/archive/$pkgver.tar.gz")
sha512sums=('77d211eb9a9eb3a471f991ded749939be9efa1de92ce2fb1e46c23a56bda589a22ed8e432117e742beae7dc6df8e63208578a59c7963619ab50db2badf71097e')

build() {
	cd "$srcdir/$pkgname-$pkgver"
	make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make PREFIX=/usr DESTDIR="$pkgdir" install
	install -m644 -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}