[arch-commits] Commit in libplist/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Sep 19 17:46:51 UTC 2015
Date: Saturday, September 19, 2015 @ 19:46:51
Author: foutrelis
Revision: 246672
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
libplist/repos/staging-i686/
libplist/repos/staging-i686/PKGBUILD
(from rev 246671, libplist/trunk/PKGBUILD)
libplist/repos/staging-x86_64/
libplist/repos/staging-x86_64/PKGBUILD
(from rev 246671, 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 246671, libplist/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-09-19 17:46:51 UTC (rev 246672)
@@ -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=3
+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 246671, libplist/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-09-19 17:46:51 UTC (rev 246672)
@@ -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=3
+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