updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / python26-sip / PKGBUILD
bloba0d94d0025806071f9293ce577b14a219791d580
1 # Contributor: Max Pray a.k.a. Synthead <synthead@gmail.com>
3 pkgname=python26-sip
4 _pkgname=sip
5 pkgver=4.12.4
6 pkgrel=1
7 pkgdesc="A tool that makes it easy to create Python2 bindings for C and C++ libraries"
8 arch=('i686' 'x86_64')
9 url="http://www.riverbankcomputing.com/software/sip"
10 license=('custom:"sip"')
11 depends=('sip' 'python26')
12 source=("http://www.riverbankcomputing.com/static/Downloads/sip4/$_pkgname-$pkgver.tar.gz")
13 md5sums=('6cbd56abb7d35aad833789c98ae61652')
15 build() {
16  cd "$srcdir/$_pkgname-$pkgver"
17  python26 configure.py CFLAGS="$CFLAGS" LFLAGS="$LDFLAGS"
18  make
21 package() {
22  cd "$srcdir/$_pkgname-$pkgver"
23  make DESTDIR="$pkgdir" install
24  install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
25  rm "$pkgdir/usr/bin/sip"