Date: Wednesday, May 28, 2014 @ 12:10:03 Author: fyan Revision: 213685
archrelease: copy trunk to testing-i686, testing-x86_64 Added: swig/repos/testing-i686/ swig/repos/testing-i686/PKGBUILD (from rev 213684, swig/trunk/PKGBUILD) swig/repos/testing-x86_64/ swig/repos/testing-x86_64/PKGBUILD (from rev 213684, swig/trunk/PKGBUILD) -------------------------+ testing-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ testing-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) Copied: swig/repos/testing-i686/PKGBUILD (from rev 213684, swig/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2014-05-28 10:10:03 UTC (rev 213685) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@gmail.com> +# Contributor: Stéphane Gaudreault <steph...@archlinux.org> +# Contributor: Tom Newsom <jeeps...@gmx.co.uk> + +pkgname=swig +pkgver=3.0.1 +pkgrel=1 +pkgdesc="Generate scripting interfaces to C/C++ code" +arch=('i686' 'x86_64') +url="http://www.swig.org/" +license=('custom') +depends=('pcre' 'gcc-libs') +checkdepends=('ruby' 'python2' 'java-environment' 'tcl' 'php' 'lua' 'ocaml' 'r' 'go') +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz) +sha1sums=('68a70cc80a75bc8e08a5d7a9ec22cb6d7b034c2c') + +build() { + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} + +check() { + cd ${pkgname}-${pkgver} + make check || warning "Tests failed" +} + +package() { + 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 +} Copied: swig/repos/testing-x86_64/PKGBUILD (from rev 213684, swig/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2014-05-28 10:10:03 UTC (rev 213685) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@gmail.com> +# Contributor: Stéphane Gaudreault <steph...@archlinux.org> +# Contributor: Tom Newsom <jeeps...@gmx.co.uk> + +pkgname=swig +pkgver=3.0.1 +pkgrel=1 +pkgdesc="Generate scripting interfaces to C/C++ code" +arch=('i686' 'x86_64') +url="http://www.swig.org/" +license=('custom') +depends=('pcre' 'gcc-libs') +checkdepends=('ruby' 'python2' 'java-environment' 'tcl' 'php' 'lua' 'ocaml' 'r' 'go') +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz) +sha1sums=('68a70cc80a75bc8e08a5d7a9ec22cb6d7b034c2c') + +build() { + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} + +check() { + cd ${pkgname}-${pkgver} + make check || warning "Tests failed" +} + +package() { + 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 +}