updated on Fri Jan 20 00:01:56 UTC 2012
[aur-mirror.git] / tklor / PKGBUILD
blobd9e3c3a1373c33eaa10ee860b1ac6fdde6f25b55
1 # Maintainer: Vladimir Ermakov <vooon341@gmail.com>
3 pkgname=tklor
4 pkgver=1.1.5
5 pkgrel=1
6 arch=('i686' 'x86_64')
7 pkgdesc="A tool for reading the LOR"
8 license=('GPL')
9 depends=('tcl' 'tk' 'tcllib')
10 source=(http://tklor.googlecode.com/files/tklor_$pkgver-1.tar.gz)
11 url="http://code.google.com/p/tklor/"
12 md5sums=('fd7ef35a6442b2fc2f6e895db0134993')
14 build() {
15         mkdir -p $startdir/pkg/usr/share/doc/tkLOR/examples/
16         mkdir -p $startdir/pkg/usr/share/pixmaps/
17         mkdir -p $startdir/pkg/usr/share/applications/
18         mkdir -p $startdir/pkg/usr/lib/tkLOR/
19         mkdir -p $startdir/pkg/usr/lib/tkLOR/msgs/
20         mkdir -p $startdir/pkg/usr/bin/
22         cp $startdir/src/$pkgname-$pkgver/lib/*.tcl $startdir/pkg/usr/lib/tkLOR/
23         cp $startdir/src/$pkgname-$pkgver/lib/msgs/*.msg $startdir/pkg/usr/lib/tkLOR/msgs/
24         cp $startdir/src/$pkgname-$pkgver/{README,UPGRADE} $startdir/pkg/usr/share/doc/tkLOR/
25         cp $startdir/src/$pkgname-$pkgver/userConfig $startdir/pkg/usr/share/doc/tkLOR/examples/
26         cp $startdir/src/$pkgname-$pkgver/config $startdir/pkg/usr/share/doc/tkLOR/examples/
27         cp $startdir/src/$pkgname-$pkgver/tklor.xpm $startdir/pkg/usr/share/pixmaps/
28         cp $startdir/src/$pkgname-$pkgver/tklor.desktop $startdir/pkg/usr/share/applications/
29         cp $startdir/src/$pkgname-$pkgver/tkLOR $startdir/pkg/usr/bin/
31         chmod -R 755 $startdir/pkg/
32         chmod +x $startdir/pkg/usr/bin/tkLOR
33         chmod +x $startdir/pkg/usr/lib/tkLOR/lorBackend.tcl