Date: Saturday, November 9, 2019 @ 13:04:43 Author: arojas Revision: 367246
archrelease: copy trunk to extra-x86_64 Added: libimobiledevice/repos/extra-x86_64/PKGBUILD (from rev 367245, libimobiledevice/trunk/PKGBUILD) Deleted: libimobiledevice/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 103 ++++++++++++++++++++++++++++--------------------------------- 1 file changed, 48 insertions(+), 55 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-11-09 13:04:13 UTC (rev 367245) +++ PKGBUILD 2019-11-09 13:04:43 UTC (rev 367246) @@ -1,55 +0,0 @@ -# Maintainer : Tom Gundersen <t...@jklm.no> -# Maintainer : Ionut Biru <ib...@archlinux.org> -# Contributor: Gabriel Martinez < reitaka at gmail dot com > - -pkgname=libimobiledevice -pkgver=1.2.0+87+g92c5462 -pkgrel=1 -pkgdesc="Library that talks the protocols to support iPhone and iPod Touch devices on Linux" -url="http://libimobiledevice.org/" -arch=('x86_64') -license=('GPL2' 'LGPL2.1') -depends=('libusbmuxd' 'usbmuxd' 'gnutls') -makedepends=('python2' 'cython2' 'python' 'cython' 'libplist' 'autoconf-archive' git python2-setuptools python-setuptools) -_commit=92c5462adef87b1e577b8557b6b9c64d5a089544 # master -source=("git+https://github.com/libimobiledevice/libimobiledevice/#commit=$_commit") -sha256sums=('SKIP') - -pkgver() { - cd $pkgname - git describe --tags | sed 's/-/+/g' -} - -check() { - cd build-py2 - make check -} - -prepare() { - cd $pkgname - NOCONFIGURE=1 ./autogen.sh -} - -build() { - mkdir build-py2 - pushd build-py2 - PYTHON=/usr/bin/python2 CYTHON=/usr/bin/cython2 ../$pkgname/configure --prefix=/usr --disable-openssl - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - make - popd - - mkdir build-py3 - pushd build-py3 - PYTHON=/usr/bin/python CYTHON=/usr/bin/cython ../$pkgname/configure --prefix=/usr --disable-openssl - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - make -} - -package() { - pushd build-py2 - make DESTDIR="$pkgdir" install - popd - pushd build-py3/cython - make DESTDIR="$pkgdir" install - popd -} Copied: libimobiledevice/repos/extra-x86_64/PKGBUILD (from rev 367245, libimobiledevice/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-11-09 13:04:43 UTC (rev 367246) @@ -0,0 +1,48 @@ +# Contributor: Tom Gundersen <t...@jklm.no> +# Contributor: Ionut Biru <ib...@archlinux.org> +# Contributor: Gabriel Martinez < reitaka at gmail dot com > + +pkgname=libimobiledevice +pkgver=1.2.0+87+g92c5462 +pkgrel=4 +pkgdesc="Library that talks the protocols to support iPhone and iPod Touch devices on Linux" +url="https://libimobiledevice.org/" +arch=('x86_64') +license=('GPL2' 'LGPL2.1') +depends=('libusbmuxd' 'usbmuxd' 'gnutls') +makedepends=('python' 'cython' 'libplist' 'autoconf-archive' + 'git' 'python-setuptools') +_commit=92c5462adef87b1e577b8557b6b9c64d5a089544 # master +source=("git+https://github.com/libimobiledevice/libimobiledevice#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgname + # Update ac_python_devel.m4 to newer ax_python_devel.m4 + git cherry-pick -n eea4f1be91 + NOCONFIGURE=1 ./autogen.sh +} + +build() ( + cd $pkgname + ./configure --prefix=/usr --disable-openssl + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make +) + +check() { + cd $pkgname + make check +} + +package() { + cd $pkgname + DESTDIR="$pkgdir" make install +} + +# vim:set sw=2 et: