[arch-commits] Commit in appmenu-gtk-module/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Jul 13 11:50:15 UTC 2020
Date: Monday, July 13, 2020 @ 11:50:14
Author: arojas
Revision: 663407
Update to 0.7.3.1
Modified:
appmenu-gtk-module/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++---------------
1 file changed, 7 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-13 09:06:27 UTC (rev 663406)
+++ PKGBUILD 2020-07-13 11:50:14 UTC (rev 663407)
@@ -3,8 +3,8 @@
# Contributor: Kaizhao Zhang <zhangkaizhao at gmail.com>
pkgname=appmenu-gtk-module
-pkgver=0.7.3
-pkgrel=2
+pkgver=0.7.3.1
+pkgrel=1
pkgdesc="Application Menu GTK+ Module"
depends=()
makedepends=(cmake gtk3 gtk2)
@@ -14,25 +14,17 @@
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=('52e192db0b4da7706317f60b8d7135d86d166c5d97b7c47050596a5305e325aa'
+sha256sums=('7f5ce8a2c292069819dbc035416d6e18650865802ddaccb8dcfb0b93d43c3163'
'4c006c4ea7b8556070ad6d35529d3a9e23da8033429e34d1824c25942d969fbc')
-prepare() {
- mkdir -p build
-}
-
build() {
- cd build
- cmake ../vala-panel-appmenu-$pkgver/subprojects/$pkgname \
+ cmake -B build -S vala-panel-appmenu-$pkgver/subprojects/$pkgname \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_LIBEXECDIR=lib
- make
+ cmake --build build
}
package() {
- cd build
- make DESTDIR="$pkgdir" install
- install -dm755 "$pkgdir"/etc/X11/xinit/xinitrc.d/
- install -m755 "$srcdir"/80-appmenu-gtk-module "$pkgdir"/etc/X11/xinit/xinitrc.d/
+ DESTDIR="$pkgdir" cmake --install build
+ install -Dm755 80-appmenu-gtk-module -t "$pkgdir"/etc/X11/xinit/xinitrc.d/
}
More information about the arch-commits
mailing list