1 # Maintainer: Hilton Medeiros <medeiros.hilton at gmail dot com>
2 # Contributor: Jason Chu <jason@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
9 pkgdesc="A compiler that integrates C and C++ code with scripting languages (legacy version)"
10 arch=('i686' 'x86_64')
11 url="http://www.swig.org/"
13 depends=('gcc-libs' 'zlib')
14 conflicts=('swig' 'swig-pantheon')
16 source=("http://downloads.sourceforge.net/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
17 md5sums=('2df766c9e03e02811b1ab4bba1c7b9cc')
20 cd "${srcdir}/${_pkgname}-${pkgver}"
21 ./configure --prefix=/usr
26 cd "${srcdir}/${_pkgname}-${pkgver}"
27 make DESTDIR="${pkgdir}" install
28 install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"