1 # Contributor: CJ Niemira <siege@siege.org>
5 pkgdesc="An extension to Tcl/Tk that provides the abilities to embed foreign applications (based on their title), record events to a script, and playback that script."
6 arch=('i686', 'x86_64')
7 url="http://www.xmission.com/~georgeps/implementation/software/TkXext/"
10 source=($url/TkXext-$pkgver.tar.bz2)
11 md5sums=('dc44cb488db021d1dd795d5d649efa68')
14 cd $startdir/src/TkXext-$pkgver
16 perl -pi -e "s/\d+.\d+.\d+/$pkgver/g" pkgIndex.tcl
18 perl -pi -e "s/\d+.\d+.\d+/$pkgver/g" build.conf
19 perl -pi -e 's/\/gps\/runtime8\.4/\/usr/g' build.conf
20 perl -pi -e 's/84/8\.5/g' build.conf
23 mkdir -p $startdir/pkg/usr/lib/$pkgname$pkgver
24 install -m 755 TkXext.so $startdir/pkg/usr/lib/$pkgname$pkgver
25 install -m 644 pkgIndex.tcl $startdir/pkg/usr/lib/$pkgname$pkgver
27 mkdir -p $startdir/pkg/usr/share/licenses/$pkgname
28 install -m 444 LICENSE $startdir/pkg/usr/share/licenses/$pkgname