core/swig/PKGBUILD
Jan Mette 0ae13fefd0
2010-03-21 20:46:45 +00:00

23 lines
692 B
Bash

# $Id: PKGBUILD 55027 2009-10-11 21:30:28Z andrea $
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Maintainer: Jason Chu <jason@archlinux.org>
pkgname=swig
pkgver=1.3.40
pkgrel=2
pkgdesc="A compiler that makes it easy to integrate C and C++ code with scripting languages"
arch=('i686' 'x86_64')
license=('custom')
url="http://www.swig.org/"
depends=('gcc-libs' 'zlib')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('2df766c9e03e02811b1ab4bba1c7b9cc')
build() {
cd ${srcdir}/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=${pkgdir} install
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
}