Want more features on Pastebin? Sign Up, it's FREE!
Guest

i2p 8.3 aur

By: a guest on Jan 26th, 2011  |  syntax: None  |  size: 0.85 KB  |  views: 160  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. pkgname=i2p
  2. pkgver=0.8.3
  3. pkgrel=1
  4. pkgdesc="A distributed anonymous network"
  5. url="http://www.i2p2.de"
  6. license=('GPL')
  7. depends=('java-runtime')
  8. arch=('i686' 'x86_64')
  9. install=i2p.install
  10. source=(http://mirror.i2p2.de/i2pinstall_${pkgver}.exe i2prouter)
  11. md5sums=('af0bf8756a0bfd2e47e16a2b046994d8'
  12.          'a7add637da7eb646bef3f1c276bd9f56')
  13.  
  14. build() {
  15.   cd $srcdir
  16.   cat >install.properties << EOC
  17. INSTALL_PATH=$pkgdir/opt/i2p
  18. EOC
  19.   java -jar i2pinstall_${pkgver}.exe -options install.properties
  20.   sed -i "s|$pkgdir/opt/i2p|/opt/i2p|g" $pkgdir/opt/i2p/i2prouter $pkgdir/opt/i2p/wrapper.config $pkgdir/opt/i2p/runplain.sh $pkgdir/opt/i2p/eepget
  21.   sed -i 's/#RUN_AS_USER=/RUN_AS_USER=i2p/' $pkgdir/opt/i2p/i2prouter
  22.   rm $pkgdir/opt/i2p/.installationinformation
  23.   rm -r $pkgdir/opt/i2p/Uninstaller
  24.   install -Dm755 i2prouter $pkgdir/etc/rc.d/i2prouter
  25. }
clone this paste RAW Paste Data