summaryrefslogtreecommitdiff
path: root/frc-bin/jcommon/PKGBUILD
blob: 9d502b26b9390d0bbf879bb4a5c2e39216ac89d5 (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
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>

pkgname=jcommon
pkgver=1.0.17
pkgrel=1
pkgdesc='A Java class library that is used by JFreeChart, Pentaho Reporting and a few other projects'
license=LGPL2.1
depends=(java-environment)
url=http://www.jfree.org/jcommon/
arch=(any)
source=("http://downloads.sourceforge.net/project/jfreechart/3. JCommon/$pkgver/$pkgname-$pkgver.tar.gz")

package() {
  cd "$srcdir/$pkgname-$pkgver"
  install -d "$pkgdir/usr/share/java/jcommon"
  install -m644 jcommon-$pkgver.jar "$pkgdir/usr/share/java/jcommon"
  install -m644 jcommon-$pkgver-junit.jar "$pkgdir/usr/share/java/jcommon"
  install -m644 jcommon-xml-$pkgver.jar "$pkgdir/usr/share/java/jcommon"
  cd "$pkgdir/usr/share/java"
  ln -s jcommon/jcommon-$pkgver.jar jcommon.jar
  ln -s jcommon/jcommon-xml-$pkgver.jar jcommon-xml.jar
}

md5sums=('b42f63858987a5282b8f4b8af1740251')