summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKonstantin Pugin2016-09-05 02:45:51 +0300
committerKonstantin Pugin2016-09-05 02:45:51 +0300
commitaba32d9d2ab5b309e48b368827db034d8b19142a (patch)
tree69f7cf27ba705a3ff7b2af148c65daa4d4f39e92 /PKGBUILD
parent7e3b41154d6698a5112e0cc7e1430e29501abd4a (diff)
downloadaur-aba32d9d2ab5b309e48b368827db034d8b19142a.tar.gz
Update appmenu
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 24 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1f4b11a86a4..46d49344442 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,13 +5,13 @@ pkgbase=${_pkgbase}-xfce-git
pkgname=('vala-panel-appmenu-translations-git' 'vala-panel-appmenu-xfce-git' 'vala-panel-appmenu-valapanel-git')
_cmakename=cmake-vala
_dbusmenuname=vala-dbusmenu
-pkgver=0.2.8
+pkgver=0.3.0
pkgrel=1
pkgdesc="AppMenu (Global Menu) plugin for xfce4-panel and vala-panel"
url="https://github.com/rilian-la-te/vala-panel-appmenu"
arch=('i686' 'x86_64')
license=('GPL3')
-makedepends=('cmake' 'vala' 'gtk3' 'bamf>=0.5.0' 'xfce4-panel>=4.11.2' 'xfconf' 'libwnck3' 'vala-panel-git')
+makedepends=('cmake' 'vala' 'gtk3' 'bamf>=0.5.0' 'xfce4-panel>=4.11.2' 'xfconf' 'libwnck3' 'vala-panel-git' 'mate-panel-gtk3')
source=("git://github.com/rilian-la-te/${_pkgbase}.git"
"git://github.com/rilian-la-te/${_cmakename}.git"
"git://github.com/rilian-la-te/${_dbusmenuname}.git")
@@ -32,6 +32,7 @@ prepare() {
cp -r . "${srcdir}/${_pkgbase}/cmake"
cd "${srcdir}/${_dbusmenuname}"
cp -r . "${srcdir}/${_pkgbase}/dbusmenu"
+ rm "${srcdir}/vala-panel-appmenu/vapi/glib-2.0.vapi"
}
build() {
@@ -53,6 +54,8 @@ package_vala-panel-appmenu-xfce-git() {
make -C "lib" DESTDIR="${pkgdir}" install
make -C "data" DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}/usr/lib/vala-panel"
+ rm -rf "${pkgdir}/usr/lib/mate-panel"
+ rm -rf "${pkgdir}/usr/share/mate-panel"
}
package_vala-panel-appmenu-valapanel-git() {
@@ -69,12 +72,30 @@ package_vala-panel-appmenu-valapanel-git() {
make -C "data" DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}/usr/lib/xfce4"
rm -rf "${pkgdir}/usr/share"
+ rm -rf "${pkgdir}/usr/lib/mate-panel"
+}
+
+package_vala-panel-appmenu-mate-git() {
+ pkgdesc="AppMenu (Global Menu) plugin for mate-panel"
+ depends=('gtk3' 'bamf>=0.5.0' 'mate-panel-gtk3' 'libwnck3')
+ optdepends=('gtk2-ubuntu: for hiding gtk2 menus'
+ 'unity-gtk-module: for gtk2/gtk3 menus'
+ 'gtk2-appmenu: for gtk2 menus, alternate way'
+ 'gtk3-appmenu: for gtk3 menus, alternate way'
+ 'appmenu-qt: for qt4 menus'
+ 'appmenu-qt5: for qt5 menus')
+ cd "${srcdir}/${_pkgbase}"
+ make -C "lib" DESTDIR="${pkgdir}" install
+ make -C "data" DESTDIR="${pkgdir}" install
+ rm -rf "${pkgdir}/usr/lib/xfce4"
+ rm -rf "${pkgdir}/usr/share"
}
package_vala-panel-appmenu-translations-git() {
pkgdesc="Translations for Global Menu"
optdepends=('vala-panel-appmenu-xfce-git'
- 'vala-panel-appmenu-valapanel-git')
+ 'vala-panel-appmenu-valapanel-git'
+ 'vala-panel-appmenu-mate-git')
arch=('any')
cd "${srcdir}/${_pkgbase}"
make -C "po" DESTDIR="${pkgdir}" install