[arch-commits] Commit in xtrlock/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Wed Aug 7 22:16:22 UTC 2019


    Date: Wednesday, August 7, 2019 @ 22:16:22
  Author: anthraxx
Revision: 498294

upgpkg: xtrlock 2.9-1

Modified:
  xtrlock/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-07 22:13:30 UTC (rev 498293)
+++ PKGBUILD	2019-08-07 22:16:22 UTC (rev 498294)
@@ -2,24 +2,28 @@
 # Contributor: Michal Hybner <dta081 at gmail.com>
 
 pkgname=xtrlock
-pkgver=2.8
-pkgrel=2
+pkgver=2.9
+pkgrel=1
 pkgdesc='Minimal X display lock program'
 url='https://packages.debian.org/sid/xtrlock'
 arch=('x86_64')
 license=('GPL3')
 depends=('libx11')
-source=(${pkgname}-${pkgver}.tar.gz::http://ftp.debian.org/debian/pool/main/x/xtrlock/xtrlock_${pkgver}.tar.gz)
-sha512sums=('a1388250430f7cb7bfe875aae938c332098f9e88ab7a17d68634b36726acfa7a459bf40f71e6df3c6b1256fb4574a62b2fc72357c6e779c1bc55f10204634068')
+source=(http://ftp.debian.org/debian/pool/main/x/xtrlock/xtrlock_${pkgver}.tar.xz)
+sha256sums=('e7a78ed1e15a4926edf3be51439d49a0045b6dfd8c8ddacf119fa232669731eb')
+sha512sums=('236b56b510614dfe3c1b8fa5b6738836fac6e21de5a242c2ebc943b2fd903370a8661a90d2a747ae4f66219512db11df5b30a3b5aa88af1ee4caf3507fd35ad5')
 
 build() {
   cd ${pkgname}-${pkgver}
-  make -f Makefile.noimake CFLAGS="${CFLAGS} -DSHADOW_PWD" LDLIBS="-lX11 -lcrypt" xtrlock
+  make -f Makefile.noimake \
+    CFLAGS="${CFLAGS} -DSHADOW_PWD" \
+    LDLIBS="-lX11 -lcrypt" \
+    xtrlock
 }
 
 package() {
   cd ${pkgname}-${pkgver}
-  install -Dm 4755 xtrlock "${pkgdir}/usr/bin/xtrlock"
+  install -Dm 4755 xtrlock -t "${pkgdir}/usr/bin"
   install -Dm 644 xtrlock.man "${pkgdir}/usr/share/man/man1/xtrlock.1"
 }
 


More information about the arch-commits mailing list