1 # Contributor: Benjamin Bukowski <crankidiot@gmail.com>
5 pkgdesc="GStreamer-based blind audio comparison tool for GNOME"
7 url="http://abx-comparator.berlios.de/"
9 depends=('pygtk>=2.8' 'python>=2.4' 'gstreamer0.10-python')
10 source=(abx-comparator.desktop http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz)
11 md5sums=('d38ac6b9a4561219390c55e9500726a2'
12 'c5e10bcbabed4d4dcc6eb15a0460d594')
15 cd "$srcdir/$pkgname-$pkgver"
17 install -m755 -d $pkgdir/opt/abx-comparator
18 cp -r ./* $pkgdir/opt/abx-comparator/
21 sed -i -e 's|abx-comparator.|/opt/abx-comparator/abx-comparator.|g' $pkgdir/opt/abx-comparator/abx-comparator || return 1
24 sed -i -e 's|/usr/bin/env python|/usr/bin/env python2|g' $pkgdir/opt/abx-comparator/abx-comparator || return 1
26 install -m755 -d $pkgdir/usr/bin
27 ln -s /opt/abx-comparator/abx-comparator $pkgdir/usr/bin/abx-comparator
29 install -m755 -D ../../abx-comparator.desktop $pkgdir/usr/share/applications/abx-comparator.desktop