Levente Polyak pushed to branch main at Arch Linux / Packaging / Packages / 
xsecurelock


Commits:
22213334 by Levente Polyak at 2024-05-11T23:04:39+02:00
nvchecker: add config

- - - - -
c42e34f0 by Levente Polyak at 2024-05-11T23:05:46+02:00
reformat file and add SPDX license identifier

- - - - -


2 changed files:

- + .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,4 @@
+[xsecurelock]
+source = "git"
+git = "https://github.com/google/xsecurelock.git";
+prefix = "v"


=====================================
PKGBUILD
=====================================
@@ -5,32 +5,48 @@ pkgname=xsecurelock
 pkgver=1.9.0
 pkgrel=1
 pkgdesc="X11 screen lock utility with security in mind"
-arch=('x86_64')
 url="https://github.com/google/xsecurelock";
-license=('APACHE')
-depends=('pam' 'libxcomposite' 'libxmu' 'libxft' 'libxrandr' 'libxss')
-makedepends=('mplayer' 'mpv' 'imagemagick' 'xorg-xset' 'xscreensaver')
-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";)
+arch=(x86_64)
+license=(Apache-2.0)
+depends=(
+  pam
+  libxcomposite
+  libxmu
+  libxft
+  libxrandr
+  libxss
+)
+makedepends=(
+  mplayer
+  mpv
+  imagemagick
+  xorg-xset
+  xscreensaver
+)
+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}/${pkgname}-${pkgver}.tar.gz";)
 
sha512sums=('773c5696b338bf318fe0e3d2a3e63e8f59efc8c1a1bb8e4b52f0ba858af194044382db294ae576fc3ff7c3a92024a3af15a6ec390de09673ad88be3c526f2e86')
 
 build() {
-    cd "${pkgname}-${pkgver}"
-    sh autogen.sh
-    ./configure --prefix=/usr \
-                --libexecdir=/usr/lib \
-                --with-pam-service-name=system-auth
-    make GIT_VERSION="${pkgver}"
+  cd "${pkgname}-${pkgver}"
+  sh autogen.sh
+  ./configure \
+    --prefix=/usr \
+    --libexecdir=/usr/lib \
+    --with-pam-service-name=system-auth
+  make GIT_VERSION="${pkgver}"
 }
 
 package() {
-    cd "${pkgname}-${pkgver}"
-    make DESTDIR="${pkgdir}" install
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
 }
 
-# vim:set ts=4 sw=4 et:
+# vim:set ts=2 sw=2 et:



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/xsecurelock/-/compare/8d2b2233887fbf47c43ef645026f7767d5fd3d33...c42e34f005468bf85f144bf2a851dfde795279f3

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/xsecurelock/-/compare/8d2b2233887fbf47c43ef645026f7767d5fd3d33...c42e34f005468bf85f144bf2a851dfde795279f3
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to