diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-02-10 22:57:21 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-02-10 22:57:21 (GMT) |
commit | d4655c2a343afa26b499f8c6d6a44b23faa1d67e (patch) | |
tree | 99da3c87c5ec9a24220a1045562ee33546693980 /abs/extra/swig/PKGBUILD | |
parent | 6fd34d813e48f35cad0c25aec4f3f7ac249d7437 (diff) | |
download | linhes_pkgbuild-d4655c2a343afa26b499f8c6d6a44b23faa1d67e.zip linhes_pkgbuild-d4655c2a343afa26b499f8c6d6a44b23faa1d67e.tar.gz linhes_pkgbuild-d4655c2a343afa26b499f8c6d6a44b23faa1d67e.tar.bz2 |
swig: update to 3.0.8
Diffstat (limited to 'abs/extra/swig/PKGBUILD')
-rw-r--r-- | abs/extra/swig/PKGBUILD | 36 |
1 files changed, 16 insertions, 20 deletions
diff --git a/abs/extra/swig/PKGBUILD b/abs/extra/swig/PKGBUILD index e7f9994..986a229 100644 --- a/abs/extra/swig/PKGBUILD +++ b/abs/extra/swig/PKGBUILD @@ -1,37 +1,33 @@ -# $Id: PKGBUILD 163234 2012-07-11 16:22:59Z stephane $ -# Maintainer: Stéphane Gaudreault <stephane@archlinux.org> +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Stéphane Gaudreault <stephane@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgname=swig -pkgver=2.0.7 -pkgrel=2 +pkgver=3.0.8 +pkgrel=1 pkgdesc="Generate scripting interfaces to C/C++ code" arch=('i686' 'x86_64') url="http://www.swig.org/" license=('custom') -depends=('zlib' 'pcre') -source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz - pyint_fromsize_t.diff - upstream_r13128.diff) -sha1sums=('307020fb6437092e32c9c1bd9af8bccb1645b529' - '59ee179b57920d255c58afe45632b896e40b5b7d' - '8f0c5ae6a46c22606cc88c649bfd0a31f061a963') +depends=('pcre' 'gcc-libs') +checkdepends=('ruby' 'python2' 'java-environment' 'tcl' 'php' 'lua' 'ocaml' 'r' 'go' 'python2-cffi' 'camlp4') +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz) +sha1sums=('1f45e96219536b3423b8d4dbd03614ffccca9c33') 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 - + cd ${pkgname}-${pkgver} ./configure --prefix=/usr make } +check() { + cd ${pkgname}-${pkgver} + make check || warning "Tests failed" +} + package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} 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 |