[arch-commits] Commit in shiboken/trunk (PKGBUILD)
Florian Pritz
bluewind at archlinux.org
Wed Nov 4 09:52:54 UTC 2015
Date: Wednesday, November 4, 2015 @ 10:52:54
Author: bluewind
Revision: 145939
upgpkg: shiboken 1.2.4-1
upstream update
Modified:
shiboken/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-11-04 09:26:44 UTC (rev 145938)
+++ PKGBUILD 2015-11-04 09:52:54 UTC (rev 145939)
@@ -5,24 +5,24 @@
pkgbase=shiboken
pkgname=(python{2,}-shiboken shiboken)
-pkgver=1.2.2
-pkgrel=6
+pkgver=1.2.4
+pkgrel=1
arch=('i686' 'x86_64')
license=('LGPL')
url="http://www.pyside.org"
makedepends=('cmake' 'python2' 'python' 'qt4' 'libxslt')
-source=("http://download.qt-project.org/official_releases/pyside/$pkgbase-$pkgver.tar.bz2"
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/PySide/Shiboken/archive/$pkgver.tar.gz"
python-3.5.patch)
-md5sums=('9f5bee9d414ce51be07ff7a20054a48d'
+md5sums=('c284197d06ad25d78009ff55f18dd512'
'0433387f1716148883d15a7f6360f1e3')
prepare(){
- cd "$srcdir/shiboken-$pkgver"
+ cd "$srcdir/Shiboken-$pkgver"
patch -p1 -i ../python-3.5.patch
}
build(){
- cd "$srcdir/shiboken-$pkgver"
+ cd "$srcdir/Shiboken-$pkgver"
# build python2
mkdir -p build-py2 && cd build-py2
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
@@ -35,7 +35,7 @@
make
# build python3
- cd "$srcdir/shiboken-$pkgver"
+ cd "$srcdir/Shiboken-$pkgver"
mkdir -p build-py3 && cd build-py3
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
@@ -52,10 +52,10 @@
"python-shiboken: for compilation against python")
# Header files/ /usr/bin/shiboke, pkgconfig, man page
- cd "$srcdir/shiboken-$pkgver/build-py3"
+ cd "$srcdir/Shiboken-$pkgver/build-py3"
make DESTDIR="$pkgdir" install
- cd "$srcdir/shiboken-$pkgver/build-py2"
+ cd "$srcdir/Shiboken-$pkgver/build-py2"
cd data
install -Dm 644 ShibokenConfig-python2.7.cmake "$pkgdir/usr/lib/cmake/Shiboken-$pkgver/"
install -Dm 644 shiboken.pc "$pkgdir/usr/lib/pkgconfig/shiboken-py2.pc"
@@ -69,10 +69,10 @@
pkgdesc="Support library for Python2 bindings"
depends=("qt4>=4.8" "libxslt" "python2" "shiboken")
- cd "$srcdir/shiboken-$pkgver/build-py2"
+ cd "$srcdir/Shiboken-$pkgver/build-py2"
make DESTDIR="$pkgdir" install
- cd "$srcdir/shiboken-$pkgver/build-py2"
+ cd "$srcdir/Shiboken-$pkgver/build-py2"
cd data
install -Dm 644 ShibokenConfig-python2.7.cmake "$pkgdir/usr/lib/cmake/Shiboken-$pkgver/"
mv "$pkgdir"/usr/lib/pkgconfig/shiboken{,-py2}.pc
@@ -86,7 +86,7 @@
pkgdesc="Support library for Python bindings"
depends=("qt4>=4.8" "libxslt" "python" "shiboken")
- cd "$srcdir/shiboken-$pkgver/build-py3"
+ cd "$srcdir/Shiboken-$pkgver/build-py3"
make DESTDIR="$pkgdir" install
rm -rf "$pkgdir"/usr/{include,bin,share}
More information about the arch-commits
mailing list