summaryrefslogtreecommitdiff
path: root/community/python2-caja/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/python2-caja/PKGBUILD')
-rw-r--r--community/python2-caja/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/community/python2-caja/PKGBUILD b/community/python2-caja/PKGBUILD
index 46530e36f..79cbc63da 100644
--- a/community/python2-caja/PKGBUILD
+++ b/community/python2-caja/PKGBUILD
@@ -3,22 +3,26 @@
pkgname=python2-caja
_pkgname=python-caja
pkgver=1.8.0
-pkgrel=1
+pkgrel=2
pkgdesc="Python binding for Caja, to allow Caja property page and menu item extensions to be written in Python."
url="http://mate-desktop.org"
arch=('i686' 'x86_64')
license=('GPL')
depends=('caja' 'python2' 'python2-gobject')
makedepends=('mate-common')
-options=('!emptydirs')
replaces=('python-caja')
provides=('python-caja')
-source=("http://pub.mate-desktop.org/releases/1.8/${_pkgname}-${pkgver}.tar.xz")
-sha1sums=('63cf08e3f711be8eb44c423322962a18f822031e')
+source=("http://pub.mate-desktop.org/releases/1.8/${_pkgname}-${pkgver}.tar.xz"
+ "use-pkg-config.diff")
+sha1sums=('63cf08e3f711be8eb44c423322962a18f822031e'
+ '32c348669868414d98c3a4be0a083b419256200d')
prepare() {
cd "${srcdir}/${_pkgname}-${pkgver}"
- sed -i 's/python-config/python2-config/' configure
+ # Use pkg-config for python detection and variables
+ # - https://github.com/mate-desktop/python-caja/issues/17
+ patch -Np1 -i "${srcdir}/use-pkg-config.diff"
+ autoreconf -fi
}
build() {