diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 20:50:31 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 20:50:31 (GMT) |
commit | 68988b0cc1a1b3e8d412f9a1b020732f7abf49f0 (patch) | |
tree | 9839ea784f90de866bb892c28adcee9f7eae4aeb /abs/extra/swig/PKGBUILD | |
parent | fe3bc0b9a864e4d62edad6e5f341d867462dd211 (diff) | |
download | linhes_pkgbuild-68988b0cc1a1b3e8d412f9a1b020732f7abf49f0.zip linhes_pkgbuild-68988b0cc1a1b3e8d412f9a1b020732f7abf49f0.tar.gz linhes_pkgbuild-68988b0cc1a1b3e8d412f9a1b020732f7abf49f0.tar.bz2 |
swig 2.0.7
Diffstat (limited to 'abs/extra/swig/PKGBUILD')
-rw-r--r-- | abs/extra/swig/PKGBUILD | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/abs/extra/swig/PKGBUILD b/abs/extra/swig/PKGBUILD index bfe0512..e7f9994 100644 --- a/abs/extra/swig/PKGBUILD +++ b/abs/extra/swig/PKGBUILD @@ -1,29 +1,38 @@ -# $Id: PKGBUILD 94475 2010-10-07 11:10:49Z stephane $ -# Contributor: Tom Newsom <Jeepster@gmx.co.uk> +# $Id: PKGBUILD 163234 2012-07-11 16:22:59Z stephane $ # Maintainer: Stéphane Gaudreault <stephane@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgname=swig -pkgver=2.0.1 -pkgrel=1 +pkgver=2.0.7 +pkgrel=2 pkgdesc="Generate scripting interfaces to C/C++ code" arch=('i686' 'x86_64') url="http://www.swig.org/" license=('custom') -depends=('gcc-libs' 'zlib') -source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz) -sha1sums=('da5a1e396597be683a62d349d71802c33fb0f644') +depends=('zlib' 'pcre') +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz + pyint_fromsize_t.diff + upstream_r13128.diff) +sha1sums=('307020fb6437092e32c9c1bd9af8bccb1645b529' + '59ee179b57920d255c58afe45632b896e40b5b7d' + '8f0c5ae6a46c22606cc88c649bfd0a31f061a963') build() { cd "${srcdir}/${pkgname}-${pkgver}" + + # FS#30624 + patch -Np1 -i ../pyint_fromsize_t.diff + + # Fix call to Swig_name_decl + patch -Np1 -i ../upstream_r13128.diff + ./configure --prefix=/usr - make || return 1 + make } package() { cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install || return 1 - install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -D -m644 LICENSE-UNIVERSITIES "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-UNIVERSITIES" + make DESTDIR="${pkgdir}" install + install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE + install -D -m644 LICENSE-UNIVERSITIES "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE-UNIVERSITIES } - -# vim: set noexpandtab tabstop=8 shiftwidth=8 textwidth=132 autoindent |