Date: Sunday, February 17, 2019 @ 10:37:05 Author: maximbaz Revision: 434020
xsecurelock: switch to x86_64 arch Modified: xsecurelock/trunk/PKGBUILD ----------+ PKGBUILD | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-02-17 08:58:41 UTC (rev 434019) +++ PKGBUILD 2019-02-17 10:37:05 UTC (rev 434020) @@ -1,15 +1,14 @@ # Maintainer: Christian Rebischke <[email protected]> +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> # Contributor: Johannes Wienke <[email protected]> pkgname=xsecurelock pkgver=1.2 -pkgrel=3 +pkgrel=4 pkgdesc="X11 screen lock utility with security in mind" -arch=('any') +arch=('x86_64') url="https://github.com/google/xsecurelock" license=('APACHE') -groups=() -depends=('libx11' 'pam' 'libxcomposite' 'libxmu') -checkdepends=() +depends=('pam' 'libxcomposite' 'libxmu') optdepends=('mplayer: for the saver_mplayer module'\ 'mpv: for the saver_mpv module'\ 'imagemagick: for the auth_pamtester module'\ @@ -20,22 +19,23 @@ sha512sums=('0bf338bca2d49b89882cb280470e66cd3b0afa4c1671ba1a7aeef7e71deff3bd6edca2eac1b213ce61028a7fadbe8ba981cbd78db18815fce35bb7558bc359ac') prepare() { - cd "${srcdir}/${pkgname}-${pkgver}" - # until https://github.com/google/xsecurelock/issues/59 is fixed + 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 "${srcdir}/${pkgname}-${pkgver}" + cd "${pkgname}-${pkgver}" sh autogen.sh ./configure --prefix=/usr \ - --libexecdir=/usr/lib \ - --with-pam-service-name=system-auth + --libexecdir=/usr/lib \ + --with-pam-service-name=system-auth make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}/" install + cd "${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } +# vim:set ts=4 sw=4 et:
