summaryrefslogtreecommitdiff
path: root/community/mate-desktop/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mate-desktop/PKGBUILD')
-rw-r--r--community/mate-desktop/PKGBUILD8
1 files changed, 7 insertions, 1 deletions
diff --git a/community/mate-desktop/PKGBUILD b/community/mate-desktop/PKGBUILD
index 7ca18c7a4..02fba2e49 100644
--- a/community/mate-desktop/PKGBUILD
+++ b/community/mate-desktop/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=mate-desktop
pkgver=1.8.0
-pkgrel=2
+pkgrel=3
pkgdesc="Library with common API for various MATE modules"
url="http://mate-desktop.org"
arch=('i686' 'x86_64')
@@ -20,6 +20,11 @@ source=("http://pub.mate-desktop.org/releases/1.8/${pkgname}-${pkgver}.tar.xz")
sha1sums=('1e722d18a198751b209fcf255ad5d3653cb8f6e6')
install=${pkgname}.install
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's|\/usr\/bin\/python|\/usr\/bin\/env python2|' tools/mpaste
+}
+
build() {
# See the following for '--disable-desktop-docs' justification
# - https://github.com/mate-desktop/mate-desktop/issues/68
@@ -27,6 +32,7 @@ build() {
PYTHON=/usr/bin/python2 ./configure \
--prefix=/usr \
--with-gtk=2.0 \
+ --enable-mpaste \
--disable-static \
--disable-schemas-compile \
--disable-desktop-docs \