updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / itcl / PKGBUILD
blob6bc4a6d806ddc1a509af0705fdfd38cc78bb83fd
1 # Contributor: Nick B <Shirakawasuna at gmail _dot_com>
2 pkgname=itcl
3 pkgver=3.4
4 pkgrel=2
5 pkgdesc="Provides the extra language support needed to build large Tcl/Tk applications"
6 arch=('i686' 'x86_64')
7 url="http://incrtcl.sourceforge.net/"
8 license=('custom')
9 depends=('glibc' 'tcl')
10 source=(http://downloads.sourceforge.net/project/incrtcl/[Incr\ Tcl_Tk]-source/3.4/itcl3.4b1.tar.gz
11         configure.patch)
13 build() {
14   cd $srcdir/itcl$pkgver
15   patch -p0 -i ../configure.patch || return 1
16   if [ `uname -m` = "x86_64" ]; then
17     ./configure --prefix=/usr --enable-64bit || return 1
18   else
19     ./configure --prefix=/usr || return 1
20   fi
21   make all || return 1
22   make DESTDIR=$pkgdir install
23   install -Dm644 license.terms $pkgdir/usr/share/licenses/$pkgname/LICENSE
24   chmod 644 $pkgdir/usr/lib/itcl3.4/libitclstub3.4.a
26 md5sums=('e4c97750c08ab47e960b91911fdd0132'
27          'c13ebc37249cd5640284b1bed5c58bf9')