summaryrefslogtreecommitdiff
path: root/community/gnome-main-menu
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnome-main-menu')
-rw-r--r--community/gnome-main-menu/PKGBUILD34
-rw-r--r--community/gnome-main-menu/gnome-main-menu.install13
2 files changed, 47 insertions, 0 deletions
diff --git a/community/gnome-main-menu/PKGBUILD b/community/gnome-main-menu/PKGBUILD
new file mode 100644
index 000000000..c29788b7f
--- /dev/null
+++ b/community/gnome-main-menu/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 106799 2014-03-07 18:24:00Z flexiondotorg $
+# Maintainer : Martin Wimpress <code@flexion.org>
+
+pkgname=gnome-main-menu
+pkgver=1.7.0
+pkgrel=1
+pkgdesc="A mate-panel applet similar to the traditional main-menu, but with a few additions."
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('caja' 'libunique' 'mate-control-center' 'mate-desktop' 'mate-panel')
+makedepends=('mate-common' 'yelp-tools')
+options=('!emptydirs')
+source=("http://pub.mate-desktop.org/releases/1.7/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('ac6ce5dcd9433d798d9de3c311127a20084fc00c')
+install=${pkgname}.install
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/${pkgname} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --enable-caja-extension \
+ --without-html-dir \
+ --disable-static
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/community/gnome-main-menu/gnome-main-menu.install b/community/gnome-main-menu/gnome-main-menu.install
new file mode 100644
index 000000000..64a763d48
--- /dev/null
+++ b/community/gnome-main-menu/gnome-main-menu.install
@@ -0,0 +1,13 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas/
+ #gtk-update-icon-cache -q -t -f /usr/share/icons/mate
+ #update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}