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

Jelle van der Waa jelle at gemini.archlinux.org
Sat Jun 4 11:33:02 UTC 2022


    Date: Saturday, June 4, 2022 @ 11:33:01
  Author: jelle
Revision: 1220793

upgpkg: i3lock 2.14-1

Modified:
  i3lock/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-04 11:24:57 UTC (rev 1220792)
+++ PKGBUILD	2022-06-04 11:33:01 UTC (rev 1220793)
@@ -3,7 +3,7 @@
 # Contributor: Thorsten Töpper <atsutane-tu at freethoughts.de>
 
 pkgname=i3lock
-pkgver=2.13
+pkgver=2.14
 pkgrel=1
 pkgdesc='Improved screenlocker based upon XCB and PAM'
 url='https://i3wm.org/i3lock/'
@@ -10,11 +10,12 @@
 arch=('x86_64')
 license=('MIT')
 groups=('i3')
+makedepends=('meson')
 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{,.asc})
-sha512sums=('3a9bed3d14a2d59e641b3603448bb46d769104995b1c0239eca87d582e80e64dd8905b8e455bd5b0e635d4b37d7a87208d8de37253e9af799c65f4f8d396789d'
+source=(https://i3wm.org/i3lock/$pkgname-$pkgver.tar.xz{,.asc})
+sha512sums=('85f755333739e61a8ac90447410c48cf54345740bb6c6977efa88500e2b66dfd7fe3338e4fe38f817773219e5994ef6375010fdb3cf711e2ad42045874e39e20'
             'SKIP')
 validpgpkeys=('424E14D703E7C6D43D9D6F364E7160ED4AC8EE1D') # Michael Stapelberg
 
@@ -23,21 +24,18 @@
 
   # Fix ticket FS#31544, sed line taken from gentoo
   sed -i -e 's:login:system-auth:' pam/i3lock
-  autoreconf -fiv
 }
 
 
 build() {
-  cd ${pkgname}-${pkgver}
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc
-  make
+  arch-meson $pkgname-$pkgver build
+  meson compile -C build
 }
 
 package() {
+  DESTDIR="$pkgdir" meson install -C build
+
   cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
   install -Dm 644 i3lock.1 -t "${pkgdir}/usr/share/man/man1"
   install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }



More information about the arch-commits mailing list