blob: af0c289b582488fc1156d2405c32b8ac873b60b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Vincent Post <cent@centzilius.de>
# Contributor: KacperA
# Contributor: Joao Cordeiro <jlcordeiro at gmail dot com>
# Contributor: ahcaliskan
# Contributor: bakerct
pkgname=ntorrent
pkgver=0.5.1
pkgrel=3
pkgdesc="A graphical user interface client to rtorrent written in java."
arch=('i686' 'x86_64')
url="http://code.google.com/p/ntorrent"
license=('GPL3')
depends=('java-runtime')
optdepends=("rtorrent")
source=("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ntorrent/nTorrent-bin-${pkgver}.tar.bz2"
'ntorrent.sh'
'ntorrent.desktop')
md5sums=('1ea043bd77c21fb3969b55ed3008d7b4'
'355c948db97bafdf19c01b574c21dbe7'
'afc084d01929ad93573995f17b8717bd')
package() {
install -d "${pkgdir}/usr/share/java/${pkgname}"
install -d "${pkgdir}/usr/share/${pkgname}"
install -m644 "${srcdir}/lib/"* "${pkgdir}/usr/share/java/${pkgname}"
cp -r "${srcdir}/plugins" "${srcdir}/boot.properties" "${pkgdir}/usr/share/${pkgname}"
install -D -m755 "${srcdir}/ntorrent.sh" "${pkgdir}/usr/bin/ntorrent"
install -D -m644 "${srcdir}/ntorrent.desktop" "${pkgdir}/usr/share/applications/ntorrent.desktop"
install -D -m644 "${srcdir}/plugins/ntorrent/icons/ntorrent48.png" "${pkgdir}/usr/share/pixmaps/ntorrent.png"
}
|