summaryrefslogtreecommitdiff
path: root/sip4/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2024-06-22 15:49:01 +0200
committerErich Eckner <git@eckner.net>2024-06-22 15:49:01 +0200
commit7f5c653e0d64e855f077e589f989382bd4476911 (patch)
treee997c5e984a14eaa636c490a8997f590312ce46d /sip4/PKGBUILD
parent35ed5a522587054551ed768f8b5b3c656f791af2 (diff)
downloadarchlinuxewe-7f5c653e0d64e855f077e589f989382bd4476911.tar.xz
sip4: removed, unneeded
Diffstat (limited to 'sip4/PKGBUILD')
-rw-r--r--sip4/PKGBUILD60
1 files changed, 0 insertions, 60 deletions
diff --git a/sip4/PKGBUILD b/sip4/PKGBUILD
deleted file mode 100644
index bc7e7f7c7..000000000
--- a/sip4/PKGBUILD
+++ /dev/null
@@ -1,60 +0,0 @@
-# Maintainer: Erich Eckner <arch at eckner dot net>
-# Contributor: Antonio Rojas <arojas@archlinux.org>
-# 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>
-
-pkgbase=sip4
-pkgname=(sip4 python-sip4)
-pkgver=4.19.25
-pkgrel=1
-arch=(x86_64)
-url='https://www.riverbankcomputing.com/software/sip/intro'
-license=('custom:"sip"')
-makedepends=(python)
-source=("https://www.riverbankcomputing.com/static/Downloads/sip/$pkgver/sip-$pkgver.tar.gz")
-sha256sums=('b39d93e937647807bac23579edbff25fe46d16213f708370072574ab1f1b4211')
-
-prepare() {
- mkdir -p build
-}
-
-build() {
- cd build
- python ../sip-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS"
- make
-}
-
-package_sip4() {
- pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries"
- _pinned_dependencies=(
- 'glibc>=2.36'
- )
- depends=("${_pinned_dependencies[@]}")
- replaces=('sip<5')
-
- 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-sip4() {
- pkgdesc="Python SIP4 bindings for C and C++ libraries"
- _pinned_dependencies=(
- 'glibc>=2.36'
- )
- depends=(python "${_pinned_dependencies[@]}")
- provides=(python-sip)
- replaces=(python-sip)
-
- 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
-}