[arch-commits] Commit in (4 files)

Christian Rebischke shibumi at archlinux.org
Sun Dec 23 11:34:27 UTC 2018


    Date: Sunday, December 23, 2018 @ 11:34:26
  Author: shibumi
Revision: 417609

new package xsecurelock

Added:
  xsecurelock/
  xsecurelock/repos/
  xsecurelock/trunk/
  xsecurelock/trunk/PKGBUILD

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Added: xsecurelock/trunk/PKGBUILD
===================================================================
--- xsecurelock/trunk/PKGBUILD	                        (rev 0)
+++ xsecurelock/trunk/PKGBUILD	2018-12-23 11:34:26 UTC (rev 417609)
@@ -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