updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / bittyrant / PKGBUILD
blobc6c1821017233a887d8ca98fde63e7722577817c
1 # Contributer: Darwin Bautista <djclue917@gmail.com>
2 # Package adopted by Alexander bas 07.01.2008 <bas@it-core.org>
4 pkgname=bittyrant
5 pkgver=1.1.1
6 pkgrel=3
7 pkgdesc="A strategic BitTorrent client, based on Azureus, that improves performance"
8 arch=(i686 x86_64)
9 url="http://bittyrant.cs.washington.edu/"
10 license="GPL"
11 depends=('bash' 'gtk2' 'j2re' 'swt')
12 source=(http://bittyrant.cs.washington.edu/dist_090607/BitTyrant-Linux32.tar.bz2 \
13         bittyrant.sh \
14         bittyrant.desktop \
15         BitTyrant.png \
16         BitTyrant.torrent.png)
17 [ "${CARCH}" = "x86_64" ] && source[0]=http://bittyrant.cs.washington.edu/dist_090607/BitTyrant-Linux64.tar.bz2
18 md5sums=('44a65aa40d8a3e3aa2e90452522ec679' 'df2c30d36d36f9c6c2acfeb8e2b868df'\
19          'e537b8daeb0069e61244b18ecaee7a17' 'bac4bf8bd6b2127c633e04a9235d6ba9'\
20          'ab2d1a36577c47b375057b5eb568f2e3')
21 [ "${CARCH}" = "x86_64" ] && md5sums[0]='eafa51b8d6ee0c0f3309c738f1a63142'
23 build() {
24   cd ${startdir}/src/azureus/
26   install -D -m755 ${startdir}/src/${pkgname}.sh $startdir/pkg/usr/bin/${pkgname}
27   install -D -m644 Azureus2.jar ${startdir}/pkg/usr/share/java/${pkgname}/Azureus2.jar
29   mkdir -p ${startdir}/pkg/usr/share/${pkgname}
30   cp -R plugins ${startdir}/pkg/usr/share/${pkgname}/
32   install -D -m644 ../${pkgname}.desktop ${startdir}/pkg/usr/share/applications/${pkgname}.desktop
33   install -D -m644 ../BitTyrant.png ${startdir}/pkg/usr/share/pixmaps/BitTyrant.png
34   install -D -m644 ../BitTyrant.torrent.png ${startdir}/pkg/usr/share/pixmaps/BitTyrant.torrent.png