desktop/swig1/PKGBUILD
Adrian Chaves Fernandez (Gallaecio) 16b72d314c Added FreeCAD dependencies.
2011-06-25 13:49:54 +00:00

33 lines
808 B
Bash

#
# 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
}