4 pkgdesc="Polish, cross-platform music player. QMPlay plays music from hard disk, 4shared.com and wrzuta.pl. Supported formats: AudioCD, MODs, OGG Vorbis, MP3, AAC, FLAC and uncompressed audio."
5 url="http://zaps166.sourceforge.net/"
8 depends=('qt' 'mpg123' 'libmikmod' 'libmodplug' 'faad2' 'libcdio' 'libcddb' 'curl' 'taglib' 'libvorbis' 'libogg' 'portaudio' 'libsndfile')
9 makedepends=('gcc' 'make')
10 install=QMPlay.install
16 mkdir -p usr/share/applications/
17 mkdir -p usr/share/pixmaps/
21 ln -s ../../opt/qmplay/qmplay $pkgdir/usr/bin/qmplay
24 if [ $PWD != $srcdir ]; then
29 wget "http://sourceforge.net/projects/zaps166/files/QMPlay/src/QMPlay-$pkgver.tar.bz2/download" -O qmplay
32 echo "Can't unpack archive, exiting... ;("
38 echo "There are errors, exiting... ;("
42 mv qmplay $pkgdir/opt/
44 cp src/qmp_lib/icons/play_64x64.png $pkgdir/usr/share/pixmaps/QMPlay.png
45 cp src/qmplay/Unix/install/QMPlay.desktop $pkgdir/usr/share/applications/
46 cp src/qmplay/Unix/install/QMPlay_enqueue.desktop $pkgdir/usr/share/applications/
47 cp src/qmplay/Unix/install/qplst-qplst.xml $pkgdir/opt/qmplay/