updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / junglediskdesktop / PKGBUILD
blob384f220743ab36accd40a4edc770b2077ccbab07
1 # Maintainer: yugrotavele <yugrotavele at archlinux dot us>
2 # Contributor: Chris Giles <Chris.G.27 (at) Gmail.com>
4 pkgname=junglediskdesktop
5 _subver=160
6 pkgver=3.${_subver}
7 pkgrel=1
8 pkgdesc="Online backup and storage powered by Amazon S3™ and Rackspace"
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=('1f9f85a9b881671b945ede72b022926cd17888b4')
18 elif [ "${CARCH}" == "x86_64" ]; then
19         source=(http://downloads.jungledisk.com/jungledisk/${pkgname}64-3${_subver}.tar.gz)
20         sha1sums=('d00c1f34f7dfcbcc1193d70f99a2f4740c9c25a9')
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 jungledisk "$pkgdir/usr/bin/jungledisk"
35         # License
36         install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
38         # Desktop
39         install -D -m644 junglediskdesktop.desktop "$pkgdir/usr/share/applications/junglediskdesktop.desktop"
41         # Icon
42         install -D -m644 junglediskdesktop.png "$pkgdir/usr/share/pixmaps/junglediskdesktop.png"