[arch-commits] Commit in xsecurelock/repos (community-any community-any/PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Sun Dec 23 12:11:27 UTC 2018
Date: Sunday, December 23, 2018 @ 12:11:27
Author: shibumi
Revision: 417612
archrelease: copy trunk to community-any
Added:
xsecurelock/repos/community-any/
xsecurelock/repos/community-any/PKGBUILD
(from rev 417611, xsecurelock/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: xsecurelock/repos/community-any/PKGBUILD (from rev 417611, xsecurelock/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2018-12-23 12:11:27 UTC (rev 417612)
@@ -0,0 +1,41 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Johannes Wienke <languitar at semipol.de>
+pkgname=xsecurelock
+pkgver=1.2
+pkgrel=3
+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")
+sha512sums=('0bf338bca2d49b89882cb280470e66cd3b0afa4c1671ba1a7aeef7e71deff3bd6edca2eac1b213ce61028a7fadbe8ba981cbd78db18815fce35bb7558bc359ac')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ # until https://github.com/google/xsecurelock/issues/59 is fixed
+ echo 'const char *const git_version = "1.2";' > 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
+}
+
More information about the arch-commits
mailing list