diff options
author | Erich Eckner <git@eckner.net> | 2020-01-10 10:33:21 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-01-10 10:33:21 +0100 |
commit | c949369248d0ac3b80096f4bab04cb48631bee6e (patch) | |
tree | a9614723770a2175b885e8b4c37a80e306c0c2f9 | |
parent | 5389477183c34b00ff6b51fcb2a0f1a52392b48b (diff) | |
download | archlinuxewe-c949369248d0ac3b80096f4bab04cb48631bee6e.tar.xz |
python2-six new
-rw-r--r-- | python2-six/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/python2-six/PKGBUILD b/python2-six/PKGBUILD new file mode 100644 index 000000000..b473cb2c1 --- /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 +} |