updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / java-base64 / PKGBUILD
blobfde707bd2b2536f557503d96d1a955b63c4ee9b8
1 # Contributor: Vitaliy Berdinskikh ur6lad[at]archlinux.org.ua
3 _upstream_Name=Base64
4 _upstream_name=base64
6 pkgname=java-base64
7 pkgver=2.3.7
8 pkgrel=1
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)
17 build() {
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
29 package() {
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')