[arch-commits] Commit in sip/repos/testing-x86_64 (PKGBUILD PKGBUILD)
Date: Sunday, July 8, 2018 @ 16:50:03 Author: arojas Revision: 328093 archrelease: copy trunk to testing-x86_64 Added: sip/repos/testing-x86_64/PKGBUILD (from rev 328092, sip/trunk/PKGBUILD) Deleted: sip/repos/testing-x86_64/PKGBUILD --+ PKGBUILD | 183 ++--- 1 file changed, 92 insertions(+), 91 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-07-08 16:49:22 UTC (rev 328092) +++ PKGBUILD2018-07-08 16:50:03 UTC (rev 328093) @@ -1,91 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan -# Contributor: Andrea Scarpino -# Contributor: Douglas Soares de Andrade -# Contributor: riai , Ben - -pkgbase=sip -pkgname=('sip' 'python-sip' 'python2-sip' 'python-sip-pyqt5' 'python2-sip-pyqt5') -pkgver=4.19.12 -pkgrel=3 -arch=('x86_64') -url='http://www.riverbankcomputing.com/software/sip/intro' -license=('custom:"sip"') -makedepends=('python' 'python2') -source=("http://sourceforge.net/projects/pyqt/files/sip/sip-$pkgver/sip-$pkgver.tar.gz;) -sha256sums=('24617fc31b983df075500ecac0e99d2fb48bf63ba82d4a17518659e571923822') - -prepare() { - mkdir -p build{,-py2,-pyqt5,-pyqt5-py2} -} - -build() { - cd "$srcdir"/build - python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" - make - - cd "$srcdir"/build-py2 - python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" - make - - cd "$srcdir"/build-pyqt5 - python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip --no-tools - make - - cd "$srcdir"/build-pyqt5-py2 - python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip --no-tools - make -} - -package_sip() { - pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries" - depends=('glibc') - - cd build - make DESTDIR="$pkgdir" install -C sipgen - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python-sip() { - pkgdesc="Python 3.x SIP bindings for C and C++ libraries" - depends=('python') - - cd build - make DESTDIR="$pkgdir" install - rm -r "$pkgdir"/usr/bin # conflicts with sip - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-sip() { - pkgdesc="Python 2.x SIP bindings for C and C++ libraries" - depends=('sip' 'python2') - - cd build-py2 - make DESTDIR="$pkgdir" install - rm -r "$pkgdir"/usr/bin # conflicts with sip - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python-sip-pyqt5() { - pkgdesc="Python 3.x SIP bindings for C and C++ libraries (PyQt5 version)" - depends=('python') - - cd build-pyqt5 - make DESTDIR="$pkgdir" install - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-sip-pyqt5() { - pkgdesc="Python 2.x SIP bindings for C and C++ libraries (PyQt5 version)" - depends=('python2') - - cd build-pyqt5-py2 - make DESTDIR="$pkgdir" install - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - Copied: sip/repos/testing-x86_64/PKGBUILD (from rev 328092, sip/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-07-08 16:50:03 UTC (rev 328093) @@ -0,0 +1,92 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino +# Contributor: Douglas Soares de Andrade +# Contributor: riai , Ben + +pkgbase=sip +pkgname=('sip' 'python-sip' 'python2-sip' 'python-sip-pyqt5' 'python2-sip-pyqt5') +pkgver=4.19.12 +pkgrel=4 +arch=('x86_64') +url='http://www.riverbankcomputing.com/software/sip/intro' +license=('custom:"sip"') +makedepends=('python' 'python2') +source=("http://sourceforge.net/projects/pyqt/files/sip/sip-$pkgver/sip-$pkgver.tar.gz;) +sha256sums=('24617fc31b983df075500ecac0e99d2fb48bf63ba82d4a17518659e571923822') + +prepare() { + mkdir -p build{,-py2,-pyqt5,-pyqt5-py2} +} + +build() { + cd "$srcdir"/build + python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" + make + + cd "$srcdir"/build-py2 + python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" + make + + cd "$srcdir"/build-pyqt5 + python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip --no-tools + make + + cd "$srcdir"/build-pyqt5-py2 + python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip --no-tools + make +} + +package_sip() { + pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries" + depends=('glibc') + + cd build + make DESTDIR="$pkgdir" install -C sipgen + install -Dm644 ../sip-$pkgver/siplib/sip.h -t "$pkgdir"/usr/include + + install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} +
[arch-commits] Commit in sip/repos/testing-x86_64 (PKGBUILD PKGBUILD)
Date: Sunday, July 8, 2018 @ 15:57:31 Author: arojas Revision: 328082 archrelease: copy trunk to testing-x86_64 Added: sip/repos/testing-x86_64/PKGBUILD (from rev 328081, sip/trunk/PKGBUILD) Deleted: sip/repos/testing-x86_64/PKGBUILD --+ PKGBUILD | 182 ++--- 1 file changed, 91 insertions(+), 91 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-07-08 15:57:12 UTC (rev 328081) +++ PKGBUILD2018-07-08 15:57:31 UTC (rev 328082) @@ -1,91 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan -# Contributor: Andrea Scarpino -# Contributor: Douglas Soares de Andrade -# Contributor: riai , Ben - -pkgbase=sip -pkgname=('sip' 'python-sip' 'python2-sip' 'python-sip-pyqt5' 'python2-sip-pyqt5') -pkgver=4.19.12 -pkgrel=1 -arch=('x86_64') -url='http://www.riverbankcomputing.com/software/sip/intro' -license=('custom:"sip"') -makedepends=('python' 'python2') -source=("http://sourceforge.net/projects/pyqt/files/sip/sip-$pkgver/sip-$pkgver.tar.gz;) -sha256sums=('24617fc31b983df075500ecac0e99d2fb48bf63ba82d4a17518659e571923822') - -prepare() { - mkdir -p build{,-py2,-pyqt5,-pyqt5-py2} -} - -build() { - cd "$srcdir"/build - python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" - make - - cd "$srcdir"/build-py2 - python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" - make - - cd "$srcdir"/build-pyqt5 - python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip - make - - cd "$srcdir"/build-pyqt5-py2 - python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip - make -} - -package_sip() { - pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries" - depends=('glibc') - - cd build - make DESTDIR="$pkgdir" install -C sipgen - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python-sip() { - pkgdesc="Python 3.x SIP bindings for C and C++ libraries" - depends=('python') - - cd build - make DESTDIR="$pkgdir" install - rm -r "$pkgdir"/usr/bin # conflicts with sip - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-sip() { - pkgdesc="Python 2.x SIP bindings for C and C++ libraries" - depends=('sip' 'python2') - - cd build-py2 - make DESTDIR="$pkgdir" install - rm -r "$pkgdir"/usr/bin # conflicts with sip - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python-sip-pyqt5() { - pkgdesc="Python 3.x SIP bindings for C and C++ libraries (PyQt5 version)" - depends=('python') - - cd build-pyqt5 - make DESTDIR="$pkgdir" install -C siplib - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-sip-pyqt5() { - pkgdesc="Python 2.x SIP bindings for C and C++ libraries (PyQt5 version)" - depends=('python2') - - cd build-pyqt5-py2 - make DESTDIR="$pkgdir" install -C siplib - - install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - Copied: sip/repos/testing-x86_64/PKGBUILD (from rev 328081, sip/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-07-08 15:57:31 UTC (rev 328082) @@ -0,0 +1,91 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino +# Contributor: Douglas Soares de Andrade +# Contributor: riai , Ben + +pkgbase=sip +pkgname=('sip' 'python-sip' 'python2-sip' 'python-sip-pyqt5' 'python2-sip-pyqt5') +pkgver=4.19.12 +pkgrel=3 +arch=('x86_64') +url='http://www.riverbankcomputing.com/software/sip/intro' +license=('custom:"sip"') +makedepends=('python' 'python2') +source=("http://sourceforge.net/projects/pyqt/files/sip/sip-$pkgver/sip-$pkgver.tar.gz;) +sha256sums=('24617fc31b983df075500ecac0e99d2fb48bf63ba82d4a17518659e571923822') + +prepare() { + mkdir -p build{,-py2,-pyqt5,-pyqt5-py2} +} + +build() { + cd "$srcdir"/build + python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" + make + + cd "$srcdir"/build-py2 + python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" + make + + cd "$srcdir"/build-pyqt5 + python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip --no-tools + make + + cd "$srcdir"/build-pyqt5-py2 + python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip --no-tools + make +} + +package_sip() { + pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries" + depends=('glibc') + + cd build + make DESTDIR="$pkgdir" install -C sipgen + + install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python-sip() { + pkgdesc="Python 3.x SIP bindings for C and C++
[arch-commits] Commit in sip/repos/testing-x86_64 (PKGBUILD PKGBUILD)
Date: Saturday, June 23, 2018 @ 21:45:41 Author: arojas Revision: 327512 archrelease: copy trunk to testing-x86_64 Added: sip/repos/testing-x86_64/PKGBUILD (from rev 327511, sip/trunk/PKGBUILD) Deleted: sip/repos/testing-x86_64/PKGBUILD --+ PKGBUILD | 169 + 1 file changed, 72 insertions(+), 97 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-06-23 21:45:29 UTC (rev 327511) +++ PKGBUILD2018-06-23 21:45:41 UTC (rev 327512) @@ -1,97 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan -# Contributor: Andrea Scarpino -# Contributor: Douglas Soares de Andrade -# Contributor: riai , Ben - -pkgbase=sip -pkgname=('sip' 'python-sip' 'python2-sip' 'python-pyqt5-sip' 'python2-pyqt5-sip') -pkgver=4.19.9 -pkgrel=2 -arch=('x86_64') -url='http://www.riverbankcomputing.com/software/sip/intro' -license=('custom:"sip"') -makedepends=('python' 'python2') -source=("http://sourceforge.net/projects/pyqt/files/sip/sip-$pkgver/sip-$pkgver.tar.gz;) -sha256sums=('38a646ba483821ca4a6be7fa33e8634eb74812114e7081eccc4c3a8a6c92e438') - -prepare() { - cp -a sip-$pkgver{,-py2} - cp -a sip-$pkgver{,-pyqt5} - cp -a sip-$pkgver{,-py2-pyqt5} -} - -build() { - cd "$srcdir"/sip-$pkgver - python configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" - make - - cd "$srcdir"/sip-$pkgver-py2 - python2 configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" - make - - cd "$srcdir"/sip-$pkgver-pyqt5 - python configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip - make - - cd "$srcdir"/sip-$pkgver-py2-pyqt5 - python2 configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip - make -} - -package_sip() { - pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries" - depends=('glibc') - - cd sip-$pkgver - make DESTDIR="$pkgdir" install -C sipgen - - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python-sip() { - pkgdesc="Python 3.x SIP bindings for C and C++ libraries" - depends=('python') - - cd sip-$pkgver - make DESTDIR="$pkgdir" install -C siplib - - install -Dm644 sipconfig.py "$pkgdir"/usr/lib/python3.6/site-packages/sipconfig.py - install -Dm644 sipdistutils.py "$pkgdir"/usr/lib/python3.6/site-packages/sipdistutils.py - - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-sip() { - pkgdesc="Python 2.x SIP bindings for C and C++ libraries" - depends=('python2') - - cd sip-$pkgver-py2 - make DESTDIR="$pkgdir" install -C siplib - - install -Dm644 sipconfig.py "$pkgdir"/usr/lib/python2.7/site-packages/sipconfig.py - install -Dm644 sipdistutils.py "$pkgdir"/usr/lib/python2.7/site-packages/sipdistutils.py - - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python-pyqt5-sip() { - pkgdesc="Python 3.x SIP bindings for C and C++ libraries (PyQt5 private copy)" - depends=('python') - - cd sip-$pkgver-pyqt5 - make DESTDIR="$pkgdir" install -C siplib - - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-pyqt5-sip() { - pkgdesc="Python 2.x SIP bindings for C and C++ libraries (PyQt5 private copy)" - depends=('python2') - - cd sip-$pkgver-py2-pyqt5 - make DESTDIR="$pkgdir" install -C siplib - - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - Copied: sip/repos/testing-x86_64/PKGBUILD (from rev 327511, sip/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-06-23 21:45:41 UTC (rev 327512) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino +# Contributor: Douglas Soares de Andrade +# Contributor: riai , Ben + +pkgbase=sip +pkgname=('sip' 'python-sip' 'python2-sip') +pkgver=4.19.10 +pkgrel=1 +arch=('x86_64') +url='http://www.riverbankcomputing.com/software/sip/intro' +license=('custom:"sip"') +makedepends=('python' 'python2') +source=("http://sourceforge.net/projects/pyqt/files/sip/sip-$pkgver/sip-$pkgver.tar.gz;) +sha256sums=('31ac7d48be8fd2df5f3bdb712f66a7d9a858cc1f6cb35fc95d829e0a69c3dd48') + +prepare() { + cp -a sip-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/sip-$pkgver + python configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" + make + + cd "$srcdir"/sip-$pkgver-py2 + python2 configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" + make +} + +package_sip() { + pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries" + depends=('glibc') + + cd sip-$pkgver + make DESTDIR="$pkgdir" install -C sipgen + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python-sip() { + pkgdesc="Python 3.x SIP bindings for C and C++ libraries" + depends=('python') + + cd sip-$pkgver + make DESTDIR="$pkgdir" install -C siplib + + install -Dm644
[arch-commits] Commit in sip/repos/testing-x86_64 (PKGBUILD PKGBUILD)
Date: Saturday, June 23, 2018 @ 20:17:58 Author: arojas Revision: 327504 archrelease: copy trunk to testing-x86_64 Added: sip/repos/testing-x86_64/PKGBUILD (from rev 327503, sip/trunk/PKGBUILD) Deleted: sip/repos/testing-x86_64/PKGBUILD --+ PKGBUILD | 163 - 1 file changed, 97 insertions(+), 66 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-06-23 20:17:46 UTC (rev 327503) +++ PKGBUILD2018-06-23 20:17:58 UTC (rev 327504) @@ -1,66 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan -# Contributor: Andrea Scarpino -# Contributor: Douglas Soares de Andrade -# Contributor: riai , Ben - -pkgbase=sip -pkgname=('sip' 'python-sip' 'python2-sip') -pkgver=4.19.9 -pkgrel=1 -arch=('x86_64') -url='http://www.riverbankcomputing.com/software/sip/intro' -license=('custom:"sip"') -makedepends=('python' 'python2') -source=("http://sourceforge.net/projects/pyqt/files/sip/sip-$pkgver/sip-$pkgver.tar.gz;) -sha256sums=('38a646ba483821ca4a6be7fa33e8634eb74812114e7081eccc4c3a8a6c92e438') - -prepare() { - cp -a sip-$pkgver{,-py2} -} - -build() { - cd "$srcdir"/sip-$pkgver - python configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" - make - - cd "$srcdir"/sip-$pkgver-py2 - python2 configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" - make -} - -package_sip() { - pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries" - depends=('glibc') - - cd sip-$pkgver - make DESTDIR="$pkgdir" install -C sipgen - - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python-sip() { - pkgdesc="Python 3.x SIP bindings for C and C++ libraries" - depends=('python') - - cd sip-$pkgver - make DESTDIR="$pkgdir" install -C siplib - - install -Dm644 sipconfig.py "$pkgdir"/usr/lib/python3.6/site-packages/sipconfig.py - install -Dm644 sipdistutils.py "$pkgdir"/usr/lib/python3.6/site-packages/sipdistutils.py - - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-sip() { - pkgdesc="Python 2.x SIP bindings for C and C++ libraries" - depends=('python2') - - cd sip-$pkgver-py2 - make DESTDIR="$pkgdir" install -C siplib - - install -Dm644 sipconfig.py "$pkgdir"/usr/lib/python2.7/site-packages/sipconfig.py - install -Dm644 sipdistutils.py "$pkgdir"/usr/lib/python2.7/site-packages/sipdistutils.py - - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: sip/repos/testing-x86_64/PKGBUILD (from rev 327503, sip/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-06-23 20:17:58 UTC (rev 327504) @@ -0,0 +1,97 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Andrea Scarpino +# Contributor: Douglas Soares de Andrade +# Contributor: riai , Ben + +pkgbase=sip +pkgname=('sip' 'python-sip' 'python2-sip' 'python-pyqt5-sip' 'python2-pyqt5-sip') +pkgver=4.19.9 +pkgrel=2 +arch=('x86_64') +url='http://www.riverbankcomputing.com/software/sip/intro' +license=('custom:"sip"') +makedepends=('python' 'python2') +source=("http://sourceforge.net/projects/pyqt/files/sip/sip-$pkgver/sip-$pkgver.tar.gz;) +sha256sums=('38a646ba483821ca4a6be7fa33e8634eb74812114e7081eccc4c3a8a6c92e438') + +prepare() { + cp -a sip-$pkgver{,-py2} + cp -a sip-$pkgver{,-pyqt5} + cp -a sip-$pkgver{,-py2-pyqt5} +} + +build() { + cd "$srcdir"/sip-$pkgver + python configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" + make + + cd "$srcdir"/sip-$pkgver-py2 + python2 configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" + make + + cd "$srcdir"/sip-$pkgver-pyqt5 + python configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip + make + + cd "$srcdir"/sip-$pkgver-py2-pyqt5 + python2 configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS" --sip-module PyQt5.sip + make +} + +package_sip() { + pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries" + depends=('glibc') + + cd sip-$pkgver + make DESTDIR="$pkgdir" install -C sipgen + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python-sip() { + pkgdesc="Python 3.x SIP bindings for C and C++ libraries" + depends=('python') + + cd sip-$pkgver + make DESTDIR="$pkgdir" install -C siplib + + install -Dm644 sipconfig.py "$pkgdir"/usr/lib/python3.6/site-packages/sipconfig.py + install -Dm644 sipdistutils.py "$pkgdir"/usr/lib/python3.6/site-packages/sipdistutils.py + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-sip() { + pkgdesc="Python 2.x SIP bindings for C and C++ libraries" + depends=('python2') + + cd sip-$pkgver-py2 + make DESTDIR="$pkgdir" install -C siplib + + install -Dm644 sipconfig.py "$pkgdir"/usr/lib/python2.7/site-packages/sipconfig.py + install -Dm644 sipdistutils.py