updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / junglediskservermanagement / PKGBUILD
blobeec7efa588281799f5775c3b601c67f42dbd5851
1 # Maintainer: Ernie Brodeur <ebrodeur@ujami.net>
2 # Originally this was the junglediskdesktop PKG.  I have modified it to download and install the server management software.
4 pkgname=junglediskservermanagement
5 _subver=160
6 pkgver=3.${_subver}
7 pkgrel=2
8 pkgdesc="Online backup and storage powered by Amazon S3™ and Rackspace.  This is the server management client only."
9 arch=("i686" "x86_64")
10 url="http://www.jungledisk.com/"
11 license=("custom")
12 depends=("gtk2" "libnotify" "libsm" "libxxf86vm")
13 optdepends=("fuse")
15 if [ "${CARCH}" == "i686" ]; then
16         source=(http://downloads.jungledisk.com/jungledisk/${pkgname}3${_subver}.tar.gz)
17         sha1sums=('e209dfaaf5c7a2af886e3c1efeec141e2ffb7b19')
18 elif [ "${CARCH}" == "x86_64" ]; then
19         source=(http://downloads.jungledisk.com/jungledisk/${pkgname}64-3${_subver}.tar.gz)
20         sha1sums=('5f6bc284c806440fa5db4b1dbccb347033313886')
23 package() {
24   cd "$srcdir/$pkgname"
26         # Directories
27         install -d "$pkgdir/usr/bin/"
29         # Application
30         install -D $pkgname "$pkgdir/usr/bin/"
32         # Command-Line Utility
33         install -D junglediskservermanagement "$pkgdir/usr/bin/junglediskservermanagement"
35         # License
36         install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
38         # Desktop
39         install -D -m644 junglediskservermanagement.desktop "$pkgdir/usr/share/applications/junglediskservermanagement.desktop"
41         # Icon
42         install -D -m644 junglediskservermanagement.png "$pkgdir/usr/share/pixmaps/junglediskservermanagement.png"