]> git.gag.com Git - fw/altos/blob - contrib/arch-linux/PKGBUILD-git.jfreechart
altosui: teleterra mockup - fix speed values
[fw/altos] / contrib / arch-linux / PKGBUILD-git.jfreechart
1 # Original contributor: Bob Finch <w9ya@qrpqrci.net> 
2
3 pkgname=jfreechart
4 _pkgname=JFreeChart
5 pkgver=1.0.13
6 pkgrel=1
7 pkgdesc="Charting program for Java"
8 arch=('any')
9 license=('lgpl')
10 depends=('java-environment' 'jcommon')
11 makedepends=('apache-ant' 'zip' 'gzip' 'tar')
12 source=(http://downloads.sourceforge.net/project/\
13 $pkgname/1.%20$_pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
14 url="http://www.jfree.org/jfreechart/"
15 md5sums=('c90e2f8f612b9aaf3f24a4afce219076')
16
17 build() {
18   [ -z "${JAVA_HOME}" ] && . /etc/profile.d/jdk.sh
19   [ -z "${ANT_HOME}" ] && . /etc/profile.d/apache-ant.sh
20
21   cd ${startdir}/src/$pkgname-$pkgver/ant
22   /usr/share/java/apache-ant/bin/ant
23   
24   cd ${startdir}/src/$pkgname-$pkgver
25   install -d $pkgdir/usr/share/java/$pkgname/lib
26   install -m644 lib/$pkgname-$pkgver.jar $pkgdir/usr/share/java/$pkgname/lib/$pkgname.jar
27 }