diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-18 01:56:34 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-18 01:56:34 +0000 |
commit | 8185891e28635bdb83fdf4ba4391030912dae596 (patch) | |
tree | 66a946535bdd228514750233b2cc99dd1866ff64 /pcr/swig1 | |
parent | 60a11f87366fdfbd114cdc91ff813518858e5f8d (diff) |
Tue Feb 18 01:56:27 UTC 2014
Diffstat (limited to 'pcr/swig1')
-rw-r--r-- | pcr/swig1/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/swig1/PKGBUILD b/pcr/swig1/PKGBUILD new file mode 100644 index 000000000..4cb83afd2 --- /dev/null +++ b/pcr/swig1/PKGBUILD @@ -0,0 +1,29 @@ +# Contributor: Hilton Medeiros <medeiros.hilton at gmail dot com> +# Contributor: Jason Chu <jason@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> + +pkgname=swig1 +_pkgname=swig +pkgver=1.3.40 +pkgrel=1 +pkgdesc="A compiler that integrates C and C++ code with scripting languages (legacy version)" +arch=('i686' 'x86_64') +url="http://www.swig.org/" +license=('custom') +depends=('gcc-libs' 'zlib') +conflicts=('swig' 'swig-pantheon') +provides=('swig') +source=("http://downloads.sourceforge.net/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") + +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" +} |