summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 520655409b042f164f189b8e34779fcbdb838d96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Justin Vreeland <vreeland.justin@gmail.com>
# based on altos PKGBUILD by Bob Finch
pkgname=jcommon
_pkgname=JCommon
pkgver=1.0.24
pkgrel=1
pkgdesc="Base routines for JFreeChart"
arch=('any')
licence=('lgpl')
depends=('java-environment')
makedepends=('apache-ant')
url="http://www.jfree.org/jcommon/"
# once more, source forge is a pain to get a good url for
	source=(https://github.com/jfree/jcommon/archive/v1.0.24.tar.gz)
md5sums=('a860903b15afcf9c8d8a9ddbbda45c0e')

build() {
	cd $srcdir/$pkgname-$pkgver/ant
	ant
}

package() {
	cd $srcdir/$pkgname-$pkgver
	install -d $pkgdir/usr/share/java/$pkgname/lib
	install -m644 $pkgname-$pkgver.jar $pkgdir/usr/share/java/$pkgname/lib$pkgname.jar
	install -m644 jcommon-xml-*.jar $pkgdir/usr/share/java
}