updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / junglediskworkgroup / PKGBUILD
blob0fe7239ae2a2073fcc492a376e3e974880755737
1 # Jungle Disk Workgroup
2 # Contributor: Andrew Stromme <astromme at chatonka.com>
3 # Based off of the Jungle Disk Desktop package of:
4 # Contributor: yugrotavele <yugrotavele at archlinux dot us>
5 # Contributor: Chris Giles <Chris.G.27 (at) Gmail.com>
7 pkgname=junglediskworkgroup
8 subver=04
9 pkgver=3.${subver}
10 pkgrel=2
11 pkgdesc="Online backup and storage powered by Amazon S3™ and Rackspace"
12 arch=("i686" "x86_64")
13 url="http://www.jungledisk.com/"
14 license=("custom")
15 depends=("gtk2" "libsm" "libxxf86vm")
16 optdepends=("fuse")
17 replaces=('jungledisk')
18 conflicts=('jungledisk')
20 if [ "${CARCH}" == "i686" ]; then
21         source=(http://downloads.jungledisk.com/jungledisk/${pkgname}3${subver}.tar.gz)
22         sha1sums=('c26e2803fb37629a06570155381d4cef80d5807b')
23 elif [ "${CARCH}" == "x86_64" ]; then
24         source=(http://downloads.jungledisk.com/jungledisk/${pkgname}64-3${subver}.tar.gz)
25         sha1sums=('547df34084d1614ff6b44cd3b4f480279e753894')
28 build() {
29         cd ${srcdir}/${pkgname}/
31         # Directories
32         install -d ${pkgdir}/usr/bin/
34         # Application
35         install -D ${pkgname} ${pkgdir}/usr/bin/
37         # License
38         install -D LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
40         # Desktop
41         install -D junglediskworkgroup.desktop ${pkgdir}/usr/share/applications/junglediskworkgroup.desktop
43         # Icon
44         install -D junglediskworkgroup.png ${pkgdir}/usr/share/pixmaps/junglediskworkgroup.png