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

Levente Polyak anthraxx at archlinux.org
Thu Nov 15 21:28:55 UTC 2018


    Date: Thursday, November 15, 2018 @ 21:28:55
  Author: anthraxx
Revision: 407773

upgpkg: i3lock 2.11-1

Modified:
  i3lock/trunk/PKGBUILD

----------+
 PKGBUILD |   45 ++++++++++++++++++++++++---------------------
 1 file changed, 24 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-15 21:13:11 UTC (rev 407772)
+++ PKGBUILD	2018-11-15 21:28:55 UTC (rev 407773)
@@ -1,41 +1,44 @@
-# Maintainer: Thorsten Töpper <atsutane-tu at freethoughts.de>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Thorsten Töpper <atsutane-tu at freethoughts.de>
 
 pkgname=i3lock
-pkgver=2.10
+pkgver=2.11
 pkgrel=1
-pkgdesc="An improved screenlocker based upon XCB and PAM"
+pkgdesc='Improved screenlocker based upon XCB and PAM'
+url='https://i3wm.org/i3lock/'
 arch=('x86_64')
-url="https://i3wm.org/i3lock/"
 license=('MIT')
-groups=("i3")
-depends=('xcb-util-image' 'libev' 'cairo' 'libxkbcommon-x11' 'pam')
+groups=('i3')
+depends=('xcb-util-image' 'xcb-util-xrm' 'libev' 'cairo' 'libxkbcommon-x11' 'pam')
 options=('docs')
-backup=("etc/pam.d/i3lock")
-source=("https://i3wm.org/i3lock/$pkgname-$pkgver.tar.bz2"
-        "https://i3wm.org/i3lock/$pkgname-$pkgver.tar.bz2.asc")
-md5sums=('a496ec274c2f75bbefaa088c4d18ec85'
-         'SKIP')
+backup=('etc/pam.d/i3lock')
+source=(https://i3wm.org/i3lock/$pkgname-$pkgver.tar.bz2{,.asc})
+sha512sums=('c00741a66fdb5477a4b7e993d173f98fe95f0254fa74c50f83ddf8078a477d26a9fab126fbe31b509df2dbd35ed5ec64b95475621b8babf6f6c0f6db38160c8a'
+            'SKIP')
 validpgpkeys=('424E14D703E7C6D43D9D6F364E7160ED4AC8EE1D') # Michael Stapelberg
 
 prepare() {
-  cd "${pkgname}-${pkgver}"
+  cd ${pkgname}-${pkgver}
   # Fix ticket FS#31544, sed line taken from gentoo
-  sed -i -e 's:login:system-auth:' i3lock.pam
+  sed -i -e 's:login:system-auth:' pam/i3lock
+  autoreconf -fiv
 }
 
+
 build() {
-  cd "${pkgname}-${pkgver}"
-
+  cd ${pkgname}-${pkgver}
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc
   make
 }
 
 package() {
-  cd "${pkgname}-${pkgver}"
+  cd ${pkgname}-${pkgver}
   make DESTDIR="${pkgdir}" install
-  
-  install -Dm644 i3lock.1 ${pkgdir}/usr/share/man/man1/i3lock.1
-  install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  install -Dm 644 i3lock.1 -t "${pkgdir}/usr/share/man/man1"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }
 
-# vim:set ts=2 sw=2 et:
-
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list