[arch-commits] Commit in appmenu-gtk-module/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Sep 7 08:30:40 UTC 2020


    Date: Monday, September 7, 2020 @ 08:30:40
  Author: arojas
Revision: 699436

Update to 0.7.4

Modified:
  appmenu-gtk-module/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-07 08:22:53 UTC (rev 699435)
+++ PKGBUILD	2020-09-07 08:30:40 UTC (rev 699436)
@@ -3,11 +3,11 @@
 # Contributor: Kaizhao Zhang <zhangkaizhao at gmail.com>
 
 pkgname=appmenu-gtk-module
-pkgver=0.7.3.2
+pkgver=0.7.4
 pkgrel=1
 pkgdesc="Application Menu GTK+ Module"
 depends=()
-makedepends=(cmake gtk3 gtk2)
+makedepends=(meson gtk3 gtk2)
 optdepends=('gtk3: GTK3 module' 'gtk2: GTK2 module')
 url="https://gitlab.com/vala-panel-project/vala-panel-appmenu/"
 arch=(x86_64)
@@ -14,17 +14,16 @@
 license=(LGPL3)
 source=("https://gitlab.com/vala-panel-project/vala-panel-appmenu/-/archive/$pkgver/vala-panel-appmenu-$pkgver.tar.gz"
         80-appmenu-gtk-module)
-sha256sums=('42311dad372e03236567815e8ef54be92802020ecdfc6d7dfed46858582ff702'
+sha256sums=('9e886a79722f1e3ef808f69319848b840baaa3e3bca5a80ec186276212e6fa4a'
             '4c006c4ea7b8556070ad6d35529d3a9e23da8033429e34d1824c25942d969fbc')
 
 build() {
-  cmake -B build -S vala-panel-appmenu-$pkgver/subprojects/$pkgname \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBEXECDIR=lib
-  cmake --build build
+  meson build vala-panel-appmenu-$pkgver/subprojects/$pkgname \
+    --prefix=/usr
+  ninja -C build
 }
 
 package() {
-  DESTDIR="$pkgdir" cmake --install build
+  DESTDIR="$pkgdir" ninja install -C build
   install -Dm755 80-appmenu-gtk-module -t "$pkgdir"/etc/X11/xinit/xinitrc.d/
 }


More information about the arch-commits mailing list