summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoreolianoe2015-06-08 17:51:13 +0200
committereolianoe2015-06-08 17:51:13 +0200
commitd908d96ed041ee4d6d754e7b81d40842c3d37710 (patch)
tree07fb484c063037e9207552f08cd0948d556e6fda
downloadaur-d908d96ed041ee4d6d754e7b81d40842c3d37710.tar.gz
Initial import
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD25
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..976ac03439c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = java-freehep-vectorgraphics
+ pkgdesc = A Image and Vector Graphics package which enables Java programs to generate image and vector graphics in a variety of formats
+ pkgver = 2.1.1
+ pkgrel = 2
+ url = http://java.freehep.org/vectorgraphics/
+ arch = i686
+ arch = x86_64
+ license = LGPL2.1
+ depends = java-runtime
+ source = ftp://ftp.slac.stanford.edu/software/freehep/VectorGraphics/v2.1.1/vectorgraphics-2.1.1-bin.tar.gz
+ sha256sums = f507586f3834258564e43759c1ef72c7abf1648e89f07ef4b2e4cbdcb6fed587
+
+pkgname = java-freehep-vectorgraphics
+
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
+}