PKGBUILD 808 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>

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=('GPL')
depends=('gcc-libs' 'zlib')
conflicts=('swig' 'swig-pantheon')
provides=('swig')
changelog=ChangeLog
source=("http://downloads.sourceforge.net/$_pkgname/$_pkgname-$pkgver.tar.gz")
md5sums=('2df766c9e03e02811b1ab4bba1c7b9cc')

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
}