summaryrefslogtreecommitdiffstats
path: root/testing/py-sip/APKBUILD
blob: bfc2edc123ac06d6d976904cb98a3a4d0555bb2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer:
pkgname=py-sip
_pkgname=sip
pkgver=4.14.4
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=""
makedepends="python-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="ae2d73ef43b8b0f7a9913561e9651706  sip-4.14.4.tar.gz"
sha256sums="325f5933e8bac94e04c29a800f872073f8fcd20260477dca7039f45fb4935eb3  sip-4.14.4.tar.gz"
sha512sums="e58c002c2e1e4895907230e63715931615e36d051e5f01f458c7e9ec9d872868b0ee6231b989630970924e40e321ee895f08d80bc8da289b9da7342dbc8aad59  sip-4.14.4.tar.gz"