# Contributor: Francesco Colista # Maintainer: pkgname=py-sip _pkgname=sip pkgver=4.14 pkgrel=0 pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries" url="http://www.riverbankcomputing.com/software/sip/" arch="all" license="custom:sip" depends= depends_dev="python-dev" makedepends="$depends_dev" install="" subpackages="$pkgname-dev" source="http://sourceforge.net/projects/pyqt/files/sip/sip-$pkgver/sip-$pkgver.tar.gz" _builddir="$srcdir"/$_pkgname-$pkgver build() { cd "$_builddir" python configure.py make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/custom/${pkgname}/LICENSE } md5sums="9a48ad975e04ac824188840ea498ac32 sip-4.14.tar.gz"