[arch-commits] Commit in gnome-main-menu/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Sun Jun 28 23:55:22 UTC 2015
Date: Monday, June 29, 2015 @ 01:55:22
Author: bgyorgy
Revision: 136098
upgpkg: gnome-main-menu 1.8.0-2
Fix FS#45490
Modified:
gnome-main-menu/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-06-28 23:16:41 UTC (rev 136097)
+++ PKGBUILD 2015-06-28 23:55:22 UTC (rev 136098)
@@ -3,7 +3,7 @@
pkgname=gnome-main-menu
pkgver=1.8.0
-pkgrel=1
+pkgrel=2
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')
@@ -15,6 +15,19 @@
sha1sums=('287e904506ae2796e84b556f76e3b12274c1c89f')
install=${pkgname}.install
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # Replace libslab with libmate-slab
+ sed -i 's|libslab|mate-slab|' configure.ac
+ sed -i 's|libslab/slab.h|libmate-slab/slab.h|' */src/*
+
+ # Update disable-log-out key location
+ sed -i 's|org.mate.panel|org.mate.lockdown|' main-menu/src/main-menu-ui.c
+
+ autoreconf -fi
+}
+
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
More information about the arch-commits
mailing list