diff options
author | Erich Eckner <git@eckner.net> | 2020-01-10 18:55:46 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-01-10 18:55:46 +0100 |
commit | 7c9789e80b3f9fb4f4d2d67f2f0b0fb9b7feb1d5 (patch) | |
tree | 49da3b6d9f2719c4f9123db39664362ffbefca32 /python2-sip/PKGBUILD | |
parent | df9781fae91a9a55dbb07a44e0253c0b90b59dff (diff) | |
download | archlinuxewe-7c9789e80b3f9fb4f4d2d67f2f0b0fb9b7feb1d5.tar.xz |
fixup to c9493692: python2-six -> python2-sip
Diffstat (limited to 'python2-sip/PKGBUILD')
-rw-r--r-- | python2-sip/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/python2-sip/PKGBUILD b/python2-sip/PKGBUILD new file mode 100644 index 000000000..b473cb2c1 --- /dev/null +++ b/python2-sip/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 +} |