From 7c9789e80b3f9fb4f4d2d67f2f0b0fb9b7feb1d5 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 10 Jan 2020 18:55:46 +0100 Subject: fixup to c9493692: python2-six -> python2-sip --- python2-sip/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 python2-sip/PKGBUILD (limited to 'python2-sip') diff --git a/python2-sip/PKGBUILD b/python2-sip/PKGBUILD new file mode 100644 index 00000000..b473cb2c --- /dev/null +++ b/python2-sip/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Erich Eckner +# Contributor: Felix Yan +# Contributor: Andrea Scarpino +# Contributor: Douglas Soares de Andrade +# Contributor: riai , Ben + +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 +} -- cgit v1.2.3-54-g00ecf