[arch-commits] Commit in libplist/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Tue Jan 24 13:46:24 UTC 2017


    Date: Tuesday, January 24, 2017 @ 13:46:23
  Author: jgc
Revision: 287371

upgpkg: libplist 1.12-6

Fix overlinking, add cython pxd file

Modified:
  libplist/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-24 13:45:05 UTC (rev 287370)
+++ PKGBUILD	2017-01-24 13:46:23 UTC (rev 287371)
@@ -5,7 +5,7 @@
 
 pkgname=libplist
 pkgver=1.12
-pkgrel=5
+pkgrel=6
 pkgdesc="A library to handle Apple Property List format whereas it's binary or XML"
 url="http://libimobiledevice.org/"
 arch=('i686' 'x86_64')
@@ -26,6 +26,7 @@
   mkdir build-py2
   pushd build-py2
   PYTHON=/usr/bin/python2 CYTHON=/usr/bin/cython2 ../$pkgname-$pkgver/configure --prefix=/usr
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
   popd
 
@@ -32,6 +33,7 @@
   mkdir build-py3
   pushd build-py3
   PYTHON=/usr/bin/python CYTHON=/usr/bin/cython ../$pkgname-$pkgver/configure --prefix=/usr
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
   popd
 }
@@ -42,4 +44,6 @@
   popd
   pushd build-py3/cython
   make DESTDIR="$pkgdir" install
+  popd
+  install -D -m644 $pkgname-$pkgver/cython/plist.pxd "${pkgdir}"/usr/include/plist/cython/plist.pxd
 }



More information about the arch-commits mailing list