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