updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / tuxguitar-stable / PKGBUILD
blobd2c7a6cb2774b7bae11b825f59ac420e8dd19300
1 # Contributor: Mike Melnikov <make.programs@gmail.com>
3 pkgname=tuxguitar-stable
4 pkgver=1.2
5 pkgrel=10
6 pkgdesc="An open source tablature editor."
7 arch=('i686' 'x86_64')
8 url="http://tuxguitar.herac.com.ar/"
9 license=('GPL')
10 depends=('swt')
11 provides=('tuxguitar')
12 conflicts=('tuxguitar')
14 case $CARCH in
15   'i686')
16     md5sums=('810f558ccfb5f4c0da735b7922b6a55c')
17     __arch=x86 ;;
18   'x86_64')
19     md5sums=('04af87fd1e5628c043eca4b5dd245c82')
20     __arch=x86-64 ;;
21 esac
23 source=(http://sourceforge.net/projects/tuxguitar/files/TuxGuitar/TuxGuitar-$pkgver/tuxguitar-$pkgver-linux-${__arch}.tar.gz)
25 package() {
26   cd "$srcdir"/tuxguitar-$pkgver-linux-${__arch}
28   install -dm755 "$pkgdir/opt/tuxguitar" "$pkgdir/usr/bin"
29   cp -r doc lib share tuxguitar{,.jar} "$pkgdir/opt/tuxguitar"
30   cp -f "$srcdir/../tuxguitar" "$pkgdir"/usr/bin/tuxguitar