initial import
This commit is contained in:
30
sip/PKGBUILD
Normal file
30
sip/PKGBUILD
Normal file
@@ -0,0 +1,30 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=sip
|
||||
pkgver=4.19.25
|
||||
pkgrel=1
|
||||
epoch=1
|
||||
arch=(i686 x86_64)
|
||||
pkgdesc='A tool that makes it easy to create Python bindings for C and C++ libraries'
|
||||
url="https://www.riverbankcomputing.com/software/$pkgname/intro"
|
||||
license=('custom:SIP')
|
||||
depends=(python-toml python-packaging)
|
||||
makedepends=(python-setuptools)
|
||||
source=(https://www.riverbankcomputing.com/static/Downloads/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
|
||||
sha512sums=('60fb4133c68869bf0993144978b4847d94a0f9c7b477f64a346ea133cfe35bc11820204ab327dcf9a929b6f65a26d16cc7efbce65e49967c3347b39376e57001')
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd build
|
||||
python $srcdir/$pkgname-$pkgver/configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS"
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" -C build install
|
||||
|
||||
install -Dm644 $pkgname-$pkgver/LICENSE -t ${pkgdir}/usr/share/licenses/${pkgname}
|
||||
}
|
||||
Reference in New Issue
Block a user