updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / oneswarm / PKGBUILD
blobe56d759327d0c18bc6b6b0d7a0781d51b5e35940
1 # Maintainer: Andreas B. Wagner <AndreasBWagner@pointfree.net>
2 # Contributor: The Green Arrow <revan@no-log.org>
4 pkgname=oneswarm
5 pkgver=0.7.5.0
6 pkgrel=1
7 pkgdesc="OneSwarm is a new peer-to-peer tool that provides users with explicit control over their privacy by letting them determine how data is shared."
8 url="http://oneswarm.org/"
9 license=('GPLv2')
10 arch=('i686' 'x86_64')
11 depends=('java-runtime=6')
12 options=(strip !docs)
13 install=${pkgname}.install
17 if [ "$CARCH" == "x86_64" ]; then
18         myarch="x86_64"
19         md5sums=('0af4efd9049d325ddb47f3df5f6343b9' '0e948133ccb6d4448d740940cf536ad4' '0e80f69aba114d5aa945e90c96a0d95e')
20 else
21         myarch="x86"
22         md5sums=('8b5d0fcc3ab2cea22cf983150e67c310' '0e948133ccb6d4448d740940cf536ad4' '0e80f69aba114d5aa945e90c96a0d95e')
27 source=(http://www.oneswarm.org/builds/OneSwarm_linux_${myarch}.tar.gz \
28          oneswarm.jpg oneswarm.desktop)
30 build() {
31   cd $srcdir
32   mkdir $pkgdir/opt
33   mv OneSwarm $pkgdir/opt/
34   install -Dm644 oneswarm.jpg $pkgdir/usr/share/pixmaps/oneswarm.jpg
35   install -Dm644 oneswarm.desktop $pkgdir/usr/share/applications/oneswarm.desktop
38 # vim:set ts=2 sw=2 et: