[arch-commits] Commit in python2-caja/repos (4 files)

Martin Wimpress flexiondotorg at archlinux.org
Sat May 9 19:43:33 UTC 2015


    Date: Saturday, May 9, 2015 @ 21:43:33
  Author: flexiondotorg
Revision: 133140

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 133139, python2-caja/trunk/PKGBUILD)
  python2-caja/repos/community-staging-x86_64/
  python2-caja/repos/community-staging-x86_64/PKGBUILD
    (from rev 133139, 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 133139, python2-caja/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-05-09 19:43:33 UTC (rev 133140)
@@ -0,0 +1,34 @@
+# Maintainer : Martin Wimpress <code at flexion.org>
+
+_ver=1.10
+_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.10' 'python2-gobject')
+makedepends=('mate-common')
+conflicts=('python2-caja-gtk3')
+source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz")
+sha1sums=('6e9fa98bd3ee82106534dad3a464aebe436fa0a0')
+
+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 133139, python2-caja/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-05-09 19:43:33 UTC (rev 133140)
@@ -0,0 +1,34 @@
+# Maintainer : Martin Wimpress <code at flexion.org>
+
+_ver=1.10
+_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.10' 'python2-gobject')
+makedepends=('mate-common')
+conflicts=('python2-caja-gtk3')
+source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz")
+sha1sums=('6e9fa98bd3ee82106534dad3a464aebe436fa0a0')
+
+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