1 # Contributor: Vitaliy Berdinskikh ur6lad[at]archlinux.org.ua
9 pkgdesc="The Java class providing very fast Base64 encoding and decoding in the form of convenience methods and input/output streams"
10 arch=('i686' 'x86_64')
11 url="http://iharder.sourceforge.net"
12 license=('Public Domain')
13 depends=('java-runtime')
14 makedepends=('java-environment')
15 source=(http://downloads.sourceforge.net/project/iharder/${_upstream_name}/2.3/${_upstream_Name}-v${pkgver}.zip)
18 mkdir -p $srcdir/${_upstream_Name}-v${pkgver}/{src,build}
19 mkdir -p $pkgdir/usr/share/java/
21 cd $srcdir/${_upstream_Name}-v${pkgver}
23 echo -e 'package net.iharder.base64;\n\n' > src/Base64.java
24 cat Base64.java >> src/Base64.java
26 javac -d build src/Base64.java
30 cd $srcdir/${_upstream_Name}-v${pkgver}
32 jar cf $pkgdir/usr/share/java/java-base64.jar -C build .
35 md5sums=('0e235734061d4714f7b08b46cd783e45')
36 sha256sums=('28003fa44f7fc96f247a0da6e7cb451cce0423456ef8652c6f52a91df0e39edb')