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

pkgname=jfreechart
pkgver=1.0.14
pkgrel=1
pkgdesc='A free 100% Java chart library that makes it easy for developers to display professional quality charts in their applications'
license=LGPL2.1
depends=(jcommon swt)
makedepends=(junit)
url=http://www.jfree.org/jfreechart/
arch=(any)
source=("http://downloads.sourceforge.net/project/jfreechart/1. JFreeChart/$pkgver/$pkgname-$pkgver.tar.gz")

package() {
  cd "$srcdir/$pkgname-$pkgver/lib"
  install -d "$pkgdir/usr/share/java/jfreechart"
  install -m644 jfreechart-$pkgver.jar "$pkgdir/usr/share/java/jfreechart"
  install -m644 jfreechart-$pkgver-experimental.jar "$pkgdir/usr/share/java/jfreechart"
  install -m644 jfreechart-$pkgver-swt.jar "$pkgdir/usr/share/java/jfreechart"
  cd  "$pkgdir/usr/share/java"
  ln -s jfreechart/jfreechart-$pkgver.jar jfreechart.jar
  ln -s jfreechart/jfreechart-$pkgver-swt.jar jfreechart-swt.jar
}

md5sums=('3811e9673961d1b3523ea57a3ec2c263')