summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python2-six/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/python2-six/PKGBUILD b/python2-six/PKGBUILD
new file mode 100644
index 00000000..b473cb2c
--- /dev/null
+++ b/python2-six/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+# Contributor: Felix Yan <felixonmars@archlinux.org>
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
+# Contributor: riai <riai@bigfoot.com>, Ben <ben@benmazer.net>
+
+pkgname='python2-sip'
+pkgver=4.19.19
+pkgrel=3
+arch=('i686' 'pentium4' 'x86_64')
+url='https://www.riverbankcomputing.com/software/sip/intro'
+license=('custom:"sip"')
+makedepends=('python2')
+pkgdesc="Python 2.x SIP bindings for C and C++ libraries"
+depends=('python2')
+source=("https://www.riverbankcomputing.com/static/Downloads/sip/$pkgver/sip-$pkgver.tar.gz")
+sha256sums=('5436b61a78f48c7e8078e93a6b59453ad33780f80c644e5f3af39f94be1ede44')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd "$srcdir"/build
+ python2 ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS"
+ make
+}
+
+package() {
+ 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
+}