updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / freenet / PKGBUILD
blob9d0529e5c74c9039c2143cfed415a15eaa14d6a6
1 pkgname=freenet
2 pkgver=0.7.5
3 pkgrel=1
4 pkgdesc="An encrypted network without censorship"
5 url="http://freenetproject.org/"
6 license=('GPL2')
7 arch=('i686' 'x86_64')
8 depends=('java-runtime')
9 install=freenet.install
10 source=(http://downloads.freenetproject.org/alpha/installer/${pkgname}07.tar.gz rc.freenet)
11 md5sums=('90ca919937c9eaf8fdc5b7512e052701'
12          '9879b644635d9826ac786256dee8bcb9')
14 build() {
15   msg "Nothing to compile for $pkgname"
18 package() {
19   cd $srcdir/$pkgname
20   
21   mkdir -p $pkgdir/opt/$pkgname/
22   cp -aR * $pkgdir/opt/$pkgname/
23   chown -R 113:113 $pkgdir/opt/$pkgname
24   chmod -R ug=rwX,o=rX $pkgdir/opt/freenet
25   
26   # Program rc.d script
27   install -Dm755 $srcdir/rc.$pkgname $pkgdir/etc/rc.d/${pkgname}
28   
29   # Licenses
30   mkdir -p $pkgname/usr/share/licenses/$pkgname/
31   cp -aR license/* $pkgname/usr/share/licenses/$pkgname/
34 # vim:set ts=2 sw=2 et: