summaryrefslogtreecommitdiff
path: root/frc-bin/jcommon/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'frc-bin/jcommon/PKGBUILD')
-rw-r--r--frc-bin/jcommon/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/frc-bin/jcommon/PKGBUILD b/frc-bin/jcommon/PKGBUILD
new file mode 100644
index 0000000..9d502b2
--- /dev/null
+++ b/frc-bin/jcommon/PKGBUILD
@@ -0,0 +1,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')