Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (28 sloc) 890 Bytes
pkgname=freenet
pkgver=0.7.5
pkgrel=1
pkgdesc="An encrypted network without censorship"
url="http://freenetproject.org/"
license=('GPL2')
arch=('i686' 'x86_64')
depends=('java-runtime')
install=freenet.install
source=(http://downloads.freenetproject.org/alpha/installer/${pkgname}07.tar.gz rc.freenet)
sha1sums=('3a57e280cdd72bae28c61047e24bd7519da59a5b'
'c5b88da1dd39b9b7afaa83ea454fa536ccbd0d9f')
build() {
msg "Nothing to compile for $pkgname"
}
package() {
cd $srcdir/$pkgname
mkdir -p $pkgdir/opt/$pkgname/
cp -aR * $pkgdir/opt/$pkgname/
chown -R 113:113 $pkgdir/opt/$pkgname
chmod -R ug=rwX,o=rX $pkgdir/opt/freenet
# Program rc.d script
install -Dm755 $srcdir/rc.$pkgname $pkgdir/etc/rc.d/${pkgname}
# Licenses
mkdir -p $pkgname/usr/share/licenses/$pkgname/
cp -aR license/* $pkgname/usr/share/licenses/$pkgname/
}
# vim:set ts=2 sw=2 et: