updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / emusicremote / PKGBUILD
blob2cf196cf2f8aa92505b863ebe70572283f2ac8c5
1 # Contributor: Emile Pesik <this.id.was.still.free at gmail dot com>
3 pkgname=emusicremote
4 pkgver=1.0.0.3_beta1
5 pkgrel=2
6 pkgdesc="Self contained browser + download client for eMusic based on Mozilla's XULRunner."
7 url="http://emusic.mozdev.org/remote.html"
8 conflicts=()
9 provides=()
10 depends=()
11 arch=('i686' 'x86_64')
12 license=('Included')
13 install=emusicremote.install
14 source=('emusicremote.desktop' \
15 "http://downloads.mozdev.org/emusic/remote/emusic_remote_linux_current.tar.gz")
16 md5sums=('55d7e13ac63c0788ab6e00edb2e4579d'
17          '37f7fb46ab65367d3d062dd214a8f5b1')
19 build() {
20     # install application
21     mkdir -p $startdir/pkg/usr/share
22     cp -Rd $startdir/src/builds/emusicremote $startdir/pkg/usr/share/emusicremote
24     # install desktop files
25     install -D -m 644 $startdir/pkg/usr/share/emusicremote/xulrunner48.png \
26         $startdir/pkg/usr/share/pixmaps/emusicremote.png
27     install -D -m 644 $startdir/emusicremote.desktop \
28         $startdir/pkg/usr/share/applications/emusicremote.desktop
30     # install license files
31     install -Dm644 "$srcdir/builds/$pkgname/license.txt" \
32         "$pkgdir/usr/share/licenses/$pkgname/license.txt" || return 1