summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJames An2016-09-05 12:36:16 -0400
committerJames An2016-09-05 12:36:16 -0400
commit6f5a687d0d0de13b4cb7c8d4975d4b3ba4ae3080 (patch)
tree6225369534560b9dacd393f33c30a32dc63e5ce5 /PKGBUILD
downloadaur-jsonix-schema-compiler.tar.gz
Initial commit with working package.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1839d490073
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: James An <james@jamesan.ca>
+
+pkgname=jsonix-schema-compiler
+pkgver=2.3.9
+pkgrel=1
+pkgdesc="Compiles XML Schemas into XML<->JSON mappings for Jsonix."
+arch=('any')
+url="https://github.com/highsource/$pkgname"
+license=('BSD')
+depends=('java-runtime')
+source=("$url/releases/download/$pkgver/$pkgname-full-$pkgver.jar"
+ "$url/raw/$pkgver/LICENSE"
+ "$pkgname.sh")
+noextract=("${source[0]##*/}")
+md5sums=('d39494df9c0626c53eea7d18dd040af7'
+ '5ce6a47a9e9e030bba86c43efec26316'
+ '4b2a4cc81046d1f816e34d9887e23e35')
+
+package() {
+ install -D -m644 "$pkgname-full-$pkgver.jar" "$pkgdir/usr/share/java/$pkgname/$pkgname-full-$pkgver.jar"
+ install -D -m755 "$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
+ install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
+}