[arch-commits] Commit in xsecurelock/repos (2 files)

Maxim Baz maximbaz at archlinux.org
Sun Feb 17 10:37:12 UTC 2019


    Date: Sunday, February 17, 2019 @ 10:37:11
  Author: maximbaz
Revision: 434021

archrelease: copy trunk to community-x86_64

Added:
  xsecurelock/repos/community-x86_64/
  xsecurelock/repos/community-x86_64/PKGBUILD
    (from rev 434020, xsecurelock/trunk/PKGBUILD)

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

Copied: xsecurelock/repos/community-x86_64/PKGBUILD (from rev 434020, xsecurelock/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-02-17 10:37:11 UTC (rev 434021)
@@ -0,0 +1,41 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Johannes Wienke <languitar at semipol.de>
+pkgname=xsecurelock
+pkgver=1.2
+pkgrel=4
+pkgdesc="X11 screen lock utility with security in mind"
+arch=('x86_64')
+url="https://github.com/google/xsecurelock"
+license=('APACHE')
+depends=('pam' 'libxcomposite' 'libxmu')
+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 "${pkgname}-${pkgver}"
+    # TODO remove with the next release (https://github.com/google/xsecurelock/issues/59)
+    echo 'const char *const git_version = "1.2";' > version.c
+}
+
+build() {
+    cd "${pkgname}-${pkgver}"
+    sh autogen.sh
+    ./configure --prefix=/usr \
+                --libexecdir=/usr/lib \
+                --with-pam-service-name=system-auth
+    make
+}
+
+package() {
+    cd "${pkgname}-${pkgver}"
+    make DESTDIR="${pkgdir}" install
+}
+
+# vim:set ts=4 sw=4 et:



More information about the arch-commits mailing list