blob: 38f6d6b264d7ae30b5d73bfaeccc386c1b948417 (
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
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Johannes Wienke <languitar@semipol.de>
pkgname=xsecurelock
pkgver=1.2
pkgrel=2
pkgdesc="X11 screen lock utility with security in mind"
arch=('any')
url="https://github.com/google/xsecurelock"
license=('APACHE')
groups=()
depends=('libx11' 'pam' 'libxcomposite' 'libxmu')
checkdepends=()
optdepends=('mplayer: for the saver_mplayer module'\
'mpv: for the saver_mpv module'\
'imagemagick: for the auth_pamtester module'\
'pamtester: for the auth_pamtester module'\
'xorg-xset: for the saver_blank module'\
'xscreensaver: for the saver_xscreensaver module')
source=("https://github.com/google/xsecurelock/archive/v${pkgver}.tar.gz")
md5sums=('adfdbfca57a0b3a9f1e54b4f81970560')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
# until https://github.com/google/xsecurelock/issues/59 is fixed
echo 'const char *const git_version = "";' > version.c
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sh autogen.sh
./configure --prefix=/usr \
--libexecdir=/usr/lib \
--with-pam-service-name=system-auth
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}/" install
}
|