author | Antonio Rojas
<arojas@archlinux.org> 2020-09-07 08:30:40 UTC |
committer | Antonio Rojas
<arojas@archlinux.org> 2020-09-07 08:30:40 UTC |
parent | 67737b899dad22c9d92c706eb8e768be103df13b |
PKGBUILD | +7 | -8 |
diff --git a/PKGBUILD b/PKGBUILD index 1ea1ee3..f22ae5a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,28 +3,27 @@ # Contributor: Kaizhao Zhang <zhangkaizhao@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) 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/ }