mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
31 lines
976 B
Bash
31 lines
976 B
Bash
# $Id: PKGBUILD 54161 2009-10-06 13:27:09Z andrea $
|
|
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
|
|
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
|
|
# Contributor: riai <riai@bigfoot.com>, Ben <ben@benmazer.net>
|
|
|
|
pkgname=sip
|
|
pkgver=4.9.0
|
|
_pkgver=4.9
|
|
pkgrel=1
|
|
pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries."
|
|
arch=(i686 x86_64)
|
|
url="http://www.riverbankcomputing.com/software/sip/"
|
|
license=('custom:"sip"')
|
|
depends=('python>=2.6.3' 'gcc-libs')
|
|
source=(http://riverbankcomputing.com/static/Downloads/${pkgname}4/${pkgname}-${_pkgver}.tar.gz)
|
|
md5sums=('caf83cde684dbf7aeeb9c4447d54b98d')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${_pkgver}
|
|
|
|
python configure.py -b /usr/bin \
|
|
-d /usr/lib/python2.6/site-packages \
|
|
-e /usr/include/python2.6 \
|
|
-v /usr/share/sip
|
|
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
install -m 644 -D LICENSE \
|
|
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1
|
|
}
|