[arch-commits] Commit in appmenu-gtk-module/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 17:11:15 UTC 2020
Date: Tuesday, July 7, 2020 @ 17:11:14
Author: felixonmars
Revision: 659600
archrelease: copy trunk to community-staging-x86_64
Added:
appmenu-gtk-module/repos/community-staging-x86_64/
appmenu-gtk-module/repos/community-staging-x86_64/80-appmenu-gtk-module
(from rev 659599, appmenu-gtk-module/trunk/80-appmenu-gtk-module)
appmenu-gtk-module/repos/community-staging-x86_64/PKGBUILD
(from rev 659599, appmenu-gtk-module/trunk/PKGBUILD)
-----------------------+
80-appmenu-gtk-module | 12 ++++++++++++
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+)
Copied: appmenu-gtk-module/repos/community-staging-x86_64/80-appmenu-gtk-module (from rev 659599, appmenu-gtk-module/trunk/80-appmenu-gtk-module)
===================================================================
--- community-staging-x86_64/80-appmenu-gtk-module (rev 0)
+++ community-staging-x86_64/80-appmenu-gtk-module 2020-07-07 17:11:14 UTC (rev 659600)
@@ -0,0 +1,12 @@
+if [ -n "$GTK_MODULES" ]; then
+ GTK_MODULES="${GTK_MODULES}:appmenu-gtk-module"
+else
+ GTK_MODULES="appmenu-gtk-module"
+fi
+
+if [ -z "$UBUNTU_MENUPROXY" ]; then
+ UBUNTU_MENUPROXY=1
+fi
+
+export GTK_MODULES
+export UBUNTU_MENUPROXY
Copied: appmenu-gtk-module/repos/community-staging-x86_64/PKGBUILD (from rev 659599, appmenu-gtk-module/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 17:11:14 UTC (rev 659600)
@@ -0,0 +1,38 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: rilian-la-te <ria.freelander at gmail.com>
+# Contributor: Kaizhao Zhang <zhangkaizhao at gmail.com>
+
+pkgname=appmenu-gtk-module
+pkgver=0.7.3
+pkgrel=2
+pkgdesc="Application Menu GTK+ Module"
+depends=()
+makedepends=(cmake 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=('52e192db0b4da7706317f60b8d7135d86d166c5d97b7c47050596a5305e325aa'
+ '4c006c4ea7b8556070ad6d35529d3a9e23da8033429e34d1824c25942d969fbc')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../vala-panel-appmenu-$pkgver/subprojects/$pkgname \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_INSTALL_LIBEXECDIR=lib
+ make
+}
+
+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/
+}
More information about the arch-commits
mailing list