updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / godesk / PKGBUILD
blob3c89df577818c04e0b6bd63d6eb2fbdadb3ee7d6
1 # Package build for the linux oDesk Team client
2 # Maintainer: Stephen Weinberg <[firstname]@q5comm.com>
4 pkgname=godesk
5 pkgver=2.0.0
6 pkgrel=2
7 pkgdesc="The oDesk Team client for odesk.com"
8 arch=('i686' 'x86_64')
9 url="http://www.odesk.com/downloads"
10 license=('custom:ODESK TEAM LICENSE AGREEMENT')
11 install=godesk.install
12 source=("http://www.odesk.com/community/system/files/godesk-$pkgver-static.tar.bz2"
13         "godesk.desktop")
14 md5sums=('7eaa8c46f18847139653b9e9d0570c8b'
15          '6cac28eae254918a9646ab11ced6f819')
17 build() {
18     cp -R "$srcdir"/godesk/* "$pkgdir" || return 1
20     # Move licence to licences dir
21     mkdir -p $pkgdir/usr/share/licenses/godesk
22     mv "$pkgdir/usr/share/godesk/COPYING" "$pkgdir/usr/share/licenses/godesk/COPYING"
24     # Install .desktop file
25     install -D -m 644 "$srcdir/godesk.desktop" "$pkgdir/usr/share/applications/godesk.desktop" || return 1