summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKonstantin2018-03-12 00:37:33 +0300
committerKonstantin2018-03-12 00:37:33 +0300
commit3f0873b41f5e91dda33f36da1244e2fe9162d4fc (patch)
treea9cc32a29ff34133f186291fe80341a59004d0bd /PKGBUILD
parent88feacdcc342d56814eaab42abca184435c67f7f (diff)
downloadaur-3f0873b41f5e91dda33f36da1244e2fe9162d4fc.tar.gz
Start splitting packages
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-xPKGBUILD34
1 files changed, 3 insertions, 31 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 59786ccb6f3..da43095e4fd 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,6 @@ _disable_mate=0
_disable_xfce=0
_disable_vala=0
_disable_budgie=0
-_disable_unity_gtk_module=o
_opts=(
-DCMAKE_INSTALL_PREFIX=/usr
@@ -55,20 +54,13 @@ else
_opts+=(-DENABLE_BUDGIE=OFF)
fi
-if (("${_disable_unity_gtk_module}" == 0));then
- _opts+=(-DENABLE_APPMENU_GTK_MODULE=ON)
- pkgname+=('appmenu-gtk-module-git')
- makedepends+=('gtk2')
- msg "AppMenu GTK+ module enabled"
-else
- _opts+=(-DENABLE_APPMENU_GTK_MODULE=OFF)
-fi
+
msg "If you want to disable an applet, edit pkgbuild variables _disable_[applet]"
_pkgbase=vala-panel-appmenu
pkgbase=${_pkgbase}-xfce-git
_cmakename=cmake-vala
-pkgver=0.6.92
+pkgver=0.6.93
pkgrel=1
pkgdesc="AppMenu (Global Menu) plugin"
url="https://github.com/rilian-la-te/vala-panel-appmenu"
@@ -97,7 +89,7 @@ prepare() {
build() {
cd "${srcdir}/${_pkgbase}"
- cmake ./ "${_opts[@]}"
+ cmake ./ "${_opts[@]}" -DENABLE_APPMENU_GTK_MODULE=OFF -DENABLE_REGISTRAR=OFF -DENABLE_JAYATANA=OFF
make
}
@@ -187,23 +179,3 @@ package_vala-panel-appmenu-translations-git() {
rm -rf "${pkgdir}/usr/share/mate-panel"
rm -rf "${pkgdir}/usr/share/xfce4"
}
-
-package_appmenu-gtk-module-git()
-{
- pkgdesc="Gtk module for exporting menus"
- depends=('gtk3' 'gtk2')
- provides=(unity-gtk-module)
- cd "${srcdir}/${_pkgbase}"
- make -C "subprojects/appmenu-gtk-module" DESTDIR="${pkgdir}" install
- install -dm755 "${pkgdir}/etc/X11/xinit/xinitrc.d/"
- install -m755 "${srcdir}/80appmenu-gtk-module" "${pkgdir}/etc/X11/xinit/xinitrc.d/"
-}
-
-package_vala-panel-appmenu-registrar-git()
-{
- pkgdesc="Gtk module for exporting menus"
- provides=(vala-panel-appmenu-registrar)
- depends=('glib2')
- cd "${srcdir}/${_pkgbase}"
- make -C "subprojects/registrar" DESTDIR="${pkgdir}" install
-}