[arch-commits] Commit in python2-caja/repos (4 files)
Martin Wimpress
flexiondotorg at archlinux.org
Fri Nov 6 01:30:23 UTC 2015
Date: Friday, November 6, 2015 @ 02:30:23
Author: flexiondotorg
Revision: 146175
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
python2-caja/repos/community-staging-i686/
python2-caja/repos/community-staging-i686/PKGBUILD
(from rev 146174, python2-caja/trunk/PKGBUILD)
python2-caja/repos/community-staging-x86_64/
python2-caja/repos/community-staging-x86_64/PKGBUILD
(from rev 146174, python2-caja/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
Copied: python2-caja/repos/community-staging-i686/PKGBUILD (from rev 146174, python2-caja/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-11-06 01:30:23 UTC (rev 146175)
@@ -0,0 +1,34 @@
+# Maintainer : Martin Wimpress <code at flexion.org>
+
+_ver=1.12
+_pkgbase=python-caja
+pkgname=python2-caja
+pkgver=${_ver}.0
+pkgrel=1
+pkgdesc="Python binding for Caja, to allow Caja property page and menu item extensions to be written in Python (GTK2 version)"
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('caja>=1.12' 'python2-gobject')
+makedepends=('mate-common')
+conflicts=('python2-caja-gtk3')
+source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz")
+sha1sums=('a78157efddc37831414c055f574652e7f47599a5')
+
+prepare() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ sed -i 's/python-config/python2-config/' configure
+}
+
+build() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ PYTHON=/usr/bin/python2 ./configure \
+ --prefix=/usr \
+ --disable-static
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: python2-caja/repos/community-staging-x86_64/PKGBUILD (from rev 146174, python2-caja/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-11-06 01:30:23 UTC (rev 146175)
@@ -0,0 +1,34 @@
+# Maintainer : Martin Wimpress <code at flexion.org>
+
+_ver=1.12
+_pkgbase=python-caja
+pkgname=python2-caja
+pkgver=${_ver}.0
+pkgrel=1
+pkgdesc="Python binding for Caja, to allow Caja property page and menu item extensions to be written in Python (GTK2 version)"
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('caja>=1.12' 'python2-gobject')
+makedepends=('mate-common')
+conflicts=('python2-caja-gtk3')
+source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz")
+sha1sums=('a78157efddc37831414c055f574652e7f47599a5')
+
+prepare() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ sed -i 's/python-config/python2-config/' configure
+}
+
+build() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ PYTHON=/usr/bin/python2 ./configure \
+ --prefix=/usr \
+ --disable-static
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list