diff options
Diffstat (limited to 'testing/swig/PKGBUILD')
-rw-r--r-- | testing/swig/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/swig/PKGBUILD b/testing/swig/PKGBUILD new file mode 100644 index 000000000..4af2a60cd --- /dev/null +++ b/testing/swig/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 149685 2012-02-09 00:00:15Z allan $ +# Maintainer: Stéphane Gaudreault <stephane@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> + +pkgname=swig +pkgver=2.0.4 +pkgrel=3 +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) +sha1sums=('ace563563a8f6f367ba82236e5bea240adea0d94') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${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 +} |