updated on Wed Jan 11 12:00:27 UTC 2012
[aur-mirror.git] / swig1 / PKGBUILD
blob34cb58579cd1a1e4f2de386a363f783254343d69
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>
5 pkgname=swig1
6 _pkgname=swig
7 pkgver=1.3.40
8 pkgrel=1
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/"
12 license=('custom')
13 depends=('gcc-libs' 'zlib')
14 conflicts=('swig' 'swig-pantheon')
15 provides=('swig')
16 source=("http://downloads.sourceforge.net/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
17 md5sums=('2df766c9e03e02811b1ab4bba1c7b9cc')
19 build() {
20   cd "${srcdir}/${_pkgname}-${pkgver}"
21   ./configure --prefix=/usr
22   make
25 package() {
26   cd "${srcdir}/${_pkgname}-${pkgver}"
27   make DESTDIR="${pkgdir}" install
28   install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"