updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / tclkit / PKGBUILD
blob68c60ad815d7e16bea9f19943000ac8d8d503ccd
1 # Contributor: BenObiWan <benobiwan @t gmail dot com>
2 #Contributor: Simon Bachmann <simonbachmann@freesurf.ch>
3 pkgname=tclkit
4 pkgver=8.5.1
5 pkgrel=4
6 pkgdesc="A compact, single file executable containing Tcl, Tk, IncrTcl, TclVFS and Metakit"
7 url="http://www.equi4.com/tclkit/"
8 arch=('i686' 'x86_64')
9 license="MIT"
10 options=(!strip)
11 source=(http://tclkit.googlecode.com/files/$pkgname-$pkgver-linux-x86.gz http://tclkit.googlecode.com/files/$pkgname-$pkgver-linux-x86_64.gz)
12 md5sums=('fb0cbfa4b54f07d83098b5f53af353a6'
13          '4b0e73092ba6295ef548b1254c3d79cc')
15 build() {
16         mkdir -p $startdir/pkg/usr/bin
17         if [ "${CARCH}" = "i686" ]; then
18                 install -o root -g root $startdir/src/$pkgname-$pkgver-linux-x86 $startdir/pkg/usr/bin/tclkit
19         else
20                 install -o root -g root $startdir/src/$pkgname-$pkgver-linux-x86_64 $startdir/pkg/usr/bin/tclkit
21         fi