[arch-commits] Commit in sip/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Fri Apr 3 10:00:33 UTC 2020
Date: Friday, April 3, 2020 @ 10:00:32
Author: arojas
Revision: 379228
archrelease: copy trunk to extra-x86_64
Added:
sip/repos/extra-x86_64/PKGBUILD
(from rev 379227, sip/trunk/PKGBUILD)
Deleted:
sip/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 126 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 63 insertions(+), 63 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-03 10:00:00 UTC (rev 379227)
+++ PKGBUILD 2020-04-03 10:00:32 UTC (rev 379228)
@@ -1,63 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
-# Contributor: riai <riai at bigfoot.com>, Ben <ben at benmazer.net>
-
-pkgbase=sip
-pkgname=('sip' 'python-sip' 'python2-sip-pyqt5')
-pkgver=4.19.21
-pkgrel=1
-arch=('x86_64')
-url='https://www.riverbankcomputing.com/software/sip/intro'
-license=('custom:"sip"')
-makedepends=('python' 'python2')
-source=("https://www.riverbankcomputing.com/static/Downloads/sip/$pkgver/sip-$pkgver.tar.gz")
-sha256sums=('6af9979ab41590e8311b8cc94356718429ef96ba0e3592bdd630da01211200ae')
-
-prepare() {
- mkdir -p build{,-pyqt5-py2}
-}
-
-build() {
- cd "$srcdir"/build
- python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS"
- 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
-# move sip.h to /usr/include
- mv "$pkgdir"/usr/include/{python*/sip.h,}
- rm -r "$pkgdir"/usr/include/python*
-
- install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python-sip() {
- pkgdesc="Python SIP4 bindings for C and C++ libraries"
- depends=('python')
-
- cd build
- make DESTDIR="$pkgdir" install
- rm -r "$pkgdir"/usr/{bin,include} # conflicts with sip
-
- 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/extra-x86_64/PKGBUILD (from rev 379227, sip/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-03 10:00:32 UTC (rev 379228)
@@ -0,0 +1,63 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+# Contributor: riai <riai at bigfoot.com>, Ben <ben at benmazer.net>
+
+pkgbase=sip
+pkgname=('sip' 'python-sip' 'python2-sip-pyqt5')
+pkgver=4.19.22
+pkgrel=1
+arch=('x86_64')
+url='https://www.riverbankcomputing.com/software/sip/intro'
+license=('custom:"sip"')
+makedepends=('python' 'python2')
+source=("https://www.riverbankcomputing.com/static/Downloads/sip/$pkgver/sip-$pkgver.tar.gz")
+sha256sums=('e1b768824ec1a2ee38dd536b6b6b3d06de27b00a2f5f55470d1b512306e3be45')
+
+prepare() {
+ mkdir -p build{,-pyqt5-py2}
+}
+
+build() {
+ cd "$srcdir"/build
+ python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS"
+ 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
+# move sip.h to /usr/include
+ mv "$pkgdir"/usr/include/{python*/sip.h,}
+ rm -r "$pkgdir"/usr/include/python*
+
+ install -Dm644 ../sip-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python-sip() {
+ pkgdesc="Python SIP4 bindings for C and C++ libraries"
+ depends=('python')
+
+ cd build
+ make DESTDIR="$pkgdir" install
+ rm -r "$pkgdir"/usr/{bin,include} # conflicts with sip
+
+ 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
+}
More information about the arch-commits
mailing list