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

Felix Yan fyan at archlinux.org
Sun Dec 6 01:18:17 UTC 2015


    Date: Sunday, December 6, 2015 @ 02:18:16
  Author: fyan
Revision: 252532

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

Added:
  libplist/repos/staging-i686/
  libplist/repos/staging-i686/PKGBUILD
    (from rev 252531, libplist/trunk/PKGBUILD)
  libplist/repos/staging-x86_64/
  libplist/repos/staging-x86_64/PKGBUILD
    (from rev 252531, libplist/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   45 +++++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)

Copied: libplist/repos/staging-i686/PKGBUILD (from rev 252531, libplist/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-12-06 01:18:16 UTC (rev 252532)
@@ -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=4
+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
+}

Copied: libplist/repos/staging-x86_64/PKGBUILD (from rev 252531, libplist/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-12-06 01:18:16 UTC (rev 252532)
@@ -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=4
+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