updated on Thu Jan 12 20:00:29 UTC 2012
[aur-mirror.git] / songwrite2 / PKGBUILD
blobcc572aeb6dea84f0de5b78a76904e092000522fc
1 # Contributor: Patrick Leslie Polzer <leslie.polzer@gmx.net>
2 # Contributor: Eric Forgeot < http://ifiction.free.fr >
4 pkgname=songwrite2
5 pkgver=0.4
6 pkgrel=1
7 pkgdesc="Tablature editor in Python/GTK2"
8 arch=(i686 x86_64)
9 url="http://home.gna.org/oomadness/en/songwrite/index.html"
10 license=('GPL')
11 depends=('editobj2' 'gtk2' 'cairo' 'pango' 'python2')
12 makedepends=()
13 conflicts=(songwrite)
14 replaces=(songwrite)
15 backup=()
16 install=
17 source=(http://download.gna.org/songwrite/Songwrite2-$pkgver.tar.gz)
18 md5sums=('f0cc1bfb5428ec20271968ff7bceb1db')
20 build() {
21   cd $startdir/src/Songwrite2-$pkgver
22   python2 setup.py bdist
23   cd $startdir/pkg
24   tar xvfz $startdir/src/Songwrite2-$pkgver/dist/Songwrite2-$pkgver.linux-`arch`.tar.gz 
25   
26   
27   #desktop icons
28         mkdir -p $pkgdir/usr/share/pixmaps
29         cp $srcdir/Songwrite2-$pkgver/data/songwrite2_64x64.png $pkgdir/usr/share/pixmaps/songwrite.png
30         
31         install -D -m644 $srcdir/../songwrite.desktop $pkgdir/usr/share/applications/songwrite.desktop