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

Morten Linderud foxboron at archlinux.org
Sun Nov 15 20:22:52 UTC 2020


    Date: Sunday, November 15, 2020 @ 20:22:52
  Author: foxboron
Revision: 754745

upgpkg: i3-gaps 4.19-1

Modified:
  i3-gaps/trunk/PKGBUILD

----------+
 PKGBUILD |   34 ++++++++++++----------------------
 1 file changed, 12 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-15 20:07:27 UTC (rev 754744)
+++ PKGBUILD	2020-11-15 20:22:52 UTC (rev 754745)
@@ -2,8 +2,7 @@
 # Contributor: Ingo Bürk <admin at airblader dot de>
 
 pkgname=i3-gaps
-_pkgsourcename=i3
-pkgver=4.18.3
+pkgver=4.19
 pkgrel=1
 pkgdesc='A fork of i3wm tiling window manager with more features, including gaps'
 arch=('i686' 'x86_64')
@@ -15,7 +14,7 @@
 depends=('xcb-util-keysyms' 'xcb-util-wm' 'libev' 'yajl'
          'startup-notification' 'pango' 'perl' 'xcb-util-cursor' 'xcb-util-xrm'
          'libxkbcommon-x11')
-makedepends=('bison' 'flex' 'asciidoc' 'xmlto')
+makedepends=('bison' 'flex' 'asciidoc' 'xmlto' 'meson')
 optdepends=('rxvt-unicode: The terminal emulator used in the default config.'
             'dmenu: As menu.'
             'i3lock: For locking your screen.'
@@ -25,30 +24,21 @@
 backup=(etc/i3/config)
 options=('docs')
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Airblader/i3/archive/${pkgver}.tar.gz")
-sha256sums=('e87b5f5da1f026cf9261aec03de62305720cb0e7fd312245b2b9101aca6ad2ba')
+sha256sums=('dbd739dae5c16a94763dac0a7407d0307f0814f7bf48b99591b772820c874b4f')
 
-prepare(){
-  mkdir build
-  cd "${_pkgsourcename}-${pkgver}"
-  autoreconf -fvi
-}
-
 build() {
-  cd build
-
-  ../i3-$pkgver/configure \
-    --disable-sanitizers \
-    --prefix=/usr \
-    --sysconfdir=/etc
-  make
+  cd "i3-${pkgver}"
+  arch-meson \
+    -Ddocs=true \
+    -Dmans=true \
+  ../build
+  meson compile -C ../build
 }
 
 package() {
-  cd build
-
-  make DESTDIR="${pkgdir}/" install
-  install -Dt "$pkgdir/usr/share/man/man1" -m644 man/*.1
-  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 ../i3-$pkgver/LICENSE
+  cd "i3-${pkgver}"
+  DESTDIR="$pkgdir" meson install -C ../build
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list