updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / emusic-dlm / PKGBUILD
blobcacea396f951a68013ad2288665cfd7f2e27e11b
1 # Contributor: Gaelan D'costa <gdcosta at gmail dot com>
2 # Contributor: Christopher Daley <crdaley at gmail.com>
4 pkgname=emusic-dlm
5 pkgver=4.1.4
6 pkgrel=2
7 pkgdesc="Standalone download utility for eMusic based on Mozilla's XULRunner."
8 url="https://www.emusic.com/dlm/download.html"
9 conflicts=('bin32-emusicdlm')
10 provides=()
11 if [ $CARCH == "x86_64" ]; then
12   depends=('lib32-gtk2' 'lib32-libxt')
13 else
14   depends=('gtk2' 'libxt')
16 arch=('i686' 'x86_64')
17 license=('Included')
18 install=emusic-dlm.install
19 source=('emusic-dlm.desktop' \
20 "http://www.emusic.com/apps/dlm/emusic_linux_current.tar.gz")
21 md5sums=('4c0557ab6e912fec38b97c4e35e94092'
22          'f5808e0550183b3e17755b0e0e710a0d')
24 build() {
25   # Install Data
26   mkdir $startdir/pkg/usr/
27   mkdir $startdir/pkg/usr/share
28   cp -Rd $startdir/src/builds/emusicdlm $startdir/pkg/usr/share/emusic
29   # Install Icon
30   install -D -m 644 $startdir/pkg/usr/share/emusic/xulrunner48.png \
31     $startdir/pkg/usr/share/pixmaps/xulrunner48.png
32   # Install Desktop File
33   install -D -m 644 $startdir/emusic-dlm.desktop \
34     $startdir/pkg/usr/share/applications/emusic-dlm.desktop