summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoreolianoe2015-06-08 17:51:13 +0200
committereolianoe2015-06-08 17:51:13 +0200
commitd908d96ed041ee4d6d754e7b81d40842c3d37710 (patch)
tree07fb484c063037e9207552f08cd0948d556e6fda /PKGBUILD
downloadaur-d908d96ed041ee4d6d754e7b81d40842c3d37710.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1302e28f2c8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: eolianoe <eolianoe At GoogleMAIL DoT com>
+pkgname='java-freehep-vectorgraphics'
+_pkgname='vectorgraphics'
+pkgver='2.1.1'
+pkgrel=2
+pkgdesc='A Image and Vector Graphics package which enables Java programs to generate image and vector graphics in a variety of formats'
+depends=('java-runtime')
+arch=('i686' 'x86_64')
+license=('LGPL2.1')
+url='http://java.freehep.org/vectorgraphics/'
+source=(ftp://ftp.slac.stanford.edu/software/freehep/VectorGraphics/v${pkgver}/${_pkgname}-${pkgver}-bin.tar.gz)
+sha256sums=('f507586f3834258564e43759c1ef72c7abf1648e89f07ef4b2e4cbdcb6fed587')
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+
+ install -Dm644 "LICENSE.txt" \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+
+ cd lib
+ for file in `find . -maxdepth 1 -regex ".*\.jar" | xargs`; do
+ install -Dm644 "${file}" \
+ "${pkgdir}/usr/share/java/${_pkgname}/${file}"
+ done
+}