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

Jan de Groot jgc at archlinux.org
Thu Jun 4 10:27:31 UTC 2015


    Date: Thursday, June 4, 2015 @ 12:27:31
  Author: jgc
Revision: 240334

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  libplist/repos/extra-i686/PKGBUILD
    (from rev 240333, libplist/trunk/PKGBUILD)
  libplist/repos/extra-x86_64/PKGBUILD
    (from rev 240333, libplist/trunk/PKGBUILD)
Deleted:
  libplist/repos/extra-i686/PKGBUILD
  libplist/repos/extra-x86_64/PKGBUILD

-----------------------+
 /PKGBUILD             |   90 ++++++++++++++++++++++++++++++++++++++++++++++++
 extra-i686/PKGBUILD   |   28 --------------
 extra-x86_64/PKGBUILD |   28 --------------
 3 files changed, 90 insertions(+), 56 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2015-06-04 10:27:22 UTC (rev 240333)
+++ extra-i686/PKGBUILD	2015-06-04 10:27:31 UTC (rev 240334)
@@ -1,28 +0,0 @@
-# $Id$
-# Maintainer : Tom Gundersen <teg at jklm.no>
-# Maintainer : Ionut Biru <ibiru at archlinux.org>
-# Contributor: Gabriel Martinez < reitaka at gmail dot com >
-
-pkgname=libplist
-pkgver=1.12
-pkgrel=1
-pkgdesc="A library to handle Apple Property List format whereas it's binary or XML"
-url="http://libimobiledevice.org/"
-arch=('i686' 'x86_64')
-license=('GPL2' 'LGPL2.1')
-depends=('glib2' 'libxml2')
-makedepends=('python2')
-options=('!makeflags')
-source=(http://www.libimobiledevice.org/downloads/$pkgname-$pkgver.tar.bz2)
-md5sums=('8b04b0f09f2398022dcd4fba75012997')
-
-build() {
-  cd libplist-$pkgver
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd libplist-$pkgver
-  make DESTDIR="$pkgdir" install
-}

Copied: libplist/repos/extra-i686/PKGBUILD (from rev 240333, libplist/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2015-06-04 10:27:31 UTC (rev 240334)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer : Tom Gundersen <teg at jklm.no>
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+# Contributor: Gabriel Martinez < reitaka at gmail dot com >
+
+pkgname=libplist
+pkgver=1.12
+pkgrel=2
+pkgdesc="A library to handle Apple Property List format whereas it's binary or XML"
+url="http://libimobiledevice.org/"
+arch=('i686' 'x86_64')
+license=('GPL2' 'LGPL2.1')
+depends=('glib2' 'libxml2')
+makedepends=('python2' 'cython2' 'python' 'cython' 'autoconf-archive')
+options=('!makeflags')
+source=(http://www.libimobiledevice.org/downloads/$pkgname-$pkgver.tar.bz2)
+md5sums=('8b04b0f09f2398022dcd4fba75012997')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -e 's/AC_PYTHON_DEVEL/AX_PYTHON_DEVEL/' -i m4/cython_python.m4
+  autoreconf -fi
+}
+
+build() {
+  mkdir build-py2
+  pushd build-py2
+  PYTHON=/usr/bin/python2 CYTHON=/usr/bin/cython2 ../$pkgname-$pkgver/configure --prefix=/usr
+  make
+  popd
+
+  mkdir build-py3
+  pushd build-py3
+  PYTHON=/usr/bin/python CYTHON=/usr/bin/cython ../$pkgname-$pkgver/configure --prefix=/usr
+  make
+  popd
+}
+
+package() {
+  pushd build-py2
+  make DESTDIR="$pkgdir" install
+  popd
+  pushd build-py3/cython
+  make DESTDIR="$pkgdir" install
+}

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2015-06-04 10:27:22 UTC (rev 240333)
+++ extra-x86_64/PKGBUILD	2015-06-04 10:27:31 UTC (rev 240334)
@@ -1,28 +0,0 @@
-# $Id$
-# Maintainer : Tom Gundersen <teg at jklm.no>
-# Maintainer : Ionut Biru <ibiru at archlinux.org>
-# Contributor: Gabriel Martinez < reitaka at gmail dot com >
-
-pkgname=libplist
-pkgver=1.12
-pkgrel=1
-pkgdesc="A library to handle Apple Property List format whereas it's binary or XML"
-url="http://libimobiledevice.org/"
-arch=('i686' 'x86_64')
-license=('GPL2' 'LGPL2.1')
-depends=('glib2' 'libxml2')
-makedepends=('python2')
-options=('!makeflags')
-source=(http://www.libimobiledevice.org/downloads/$pkgname-$pkgver.tar.bz2)
-md5sums=('8b04b0f09f2398022dcd4fba75012997')
-
-build() {
-  cd libplist-$pkgver
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd libplist-$pkgver
-  make DESTDIR="$pkgdir" install
-}

Copied: libplist/repos/extra-x86_64/PKGBUILD (from rev 240333, libplist/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2015-06-04 10:27:31 UTC (rev 240334)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer : Tom Gundersen <teg at jklm.no>
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+# Contributor: Gabriel Martinez < reitaka at gmail dot com >
+
+pkgname=libplist
+pkgver=1.12
+pkgrel=2
+pkgdesc="A library to handle Apple Property List format whereas it's binary or XML"
+url="http://libimobiledevice.org/"
+arch=('i686' 'x86_64')
+license=('GPL2' 'LGPL2.1')
+depends=('glib2' 'libxml2')
+makedepends=('python2' 'cython2' 'python' 'cython' 'autoconf-archive')
+options=('!makeflags')
+source=(http://www.libimobiledevice.org/downloads/$pkgname-$pkgver.tar.bz2)
+md5sums=('8b04b0f09f2398022dcd4fba75012997')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -e 's/AC_PYTHON_DEVEL/AX_PYTHON_DEVEL/' -i m4/cython_python.m4
+  autoreconf -fi
+}
+
+build() {
+  mkdir build-py2
+  pushd build-py2
+  PYTHON=/usr/bin/python2 CYTHON=/usr/bin/cython2 ../$pkgname-$pkgver/configure --prefix=/usr
+  make
+  popd
+
+  mkdir build-py3
+  pushd build-py3
+  PYTHON=/usr/bin/python CYTHON=/usr/bin/cython ../$pkgname-$pkgver/configure --prefix=/usr
+  make
+  popd
+}
+
+package() {
+  pushd build-py2
+  make DESTDIR="$pkgdir" install
+  popd
+  pushd build-py3/cython
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list