updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / aironux / PKGBUILD
blobcc1bfb4610f1a102357746294b04f8ab420490bf
1 # Maintainer: Alfonso Saavedra "Son Link" <sonlink.dourden@gmail.com>
2 pkgname=aironux
3 pkgver=1.7
4 pkgrel=1
5 pkgdesc="Search and listen or download music"
6 arch=(any)
7 license=('GPL')
8 url="http://www.scenebeta.com/noticia/aironux"
9 depends=('gstreamer0.10-python' 'python2' 'wxpython' 'python-notify' 'gstreamer0.10' 'gstreamer0.10-bad')
10 source=('http://dl.dropbox.com/u/31191693/aironux.tar.gz' 'aironux.desktop')
11 md5sums=('084693df468eddfe6b09ddf82ee24862'
12          'e9abe39c02e619a37207b21b19973b1f')
14 package() {
15   cd "${srcdir}/${pkgname}"
17   mkdir -p $pkgdir/usr/share/$pkgname
18   mkdir -p $pkgdir/usr/bin
19   
20   install -m755 ${pkgname}.sh $pkgdir/usr/bin/$pkgname
21   sed -i "s/data/\/usr\/share\/$pkgname/g" $pkgdir/usr/bin/$pkgname
22   sed -i "s/python/python2/g" $pkgdir/usr/bin/$pkgname
24   cp -r data/* $pkgdir/usr/share/$pkgname/
25   chmod -R 777 $pkgdir/usr/share/$pkgname/
26   
27   mkdir -p $pkgdir/usr/share/applications/
28   install -Dm644 "${srcdir}/aironux.desktop" "${pkgdir}/usr/share/applications/"
29