[arch-commits] Commit in libimobiledevice/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Oct 26 04:22:38 UTC 2019
Date: Saturday, October 26, 2019 @ 04:22:36
Author: foutrelis
Revision: 365767
archrelease: copy trunk to staging-x86_64
Added:
libimobiledevice/repos/staging-x86_64/
libimobiledevice/repos/staging-x86_64/PKGBUILD
(from rev 365766, libimobiledevice/trunk/PKGBUILD)
----------+
PKGBUILD | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
Copied: libimobiledevice/repos/staging-x86_64/PKGBUILD (from rev 365766, libimobiledevice/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-10-26 04:22:36 UTC (rev 365767)
@@ -0,0 +1,55 @@
+# Contributor: Tom Gundersen <teg at jklm.no>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Gabriel Martinez < reitaka at gmail dot com >
+
+pkgname=libimobiledevice
+pkgver=1.2.0+87+g92c5462
+pkgrel=2
+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=('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'
+}
+
+prepare() {
+ cd $pkgname
+ # Update ac_python_devel.m4 to newer ax_python_devel.m4
+ git cherry-pick -n eea4f1be91
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+_build() (
+ mkdir build-py$1
+ cd build-py$1
+ PYTHON=/usr/bin/python$1 CYTHON=/usr/bin/cython$1 \
+ ../$pkgname/configure --prefix=/usr --disable-openssl
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+)
+
+build() {
+ _build 2
+ _build 3
+}
+
+check() {
+ make check -C build-py2
+ make check -C build-py3
+}
+
+package() {
+ DESTDIR="$pkgdir" make install -C build-py2
+ DESTDIR="$pkgdir" make install -C build-py3/cython
+}
+
+# vim:set sw=2 et:
More information about the arch-commits
mailing list