summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorpozar2016-04-10 18:56:44 +0200
committerpozar2016-04-10 18:56:44 +0200
commitc6a8f537948ca07cf78f1fc47b781bd5f9590184 (patch)
treebadb10bc5c9f78f95ca99852bf0d81b85810b59b
downloadaur-c6a8f537948ca07cf78f1fc47b781bd5f9590184.tar.gz
initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD22
-rwxr-xr-xudash-generator.sh2
3 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..71b131f146c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Sun Apr 10 16:55:39 UTC 2016
+pkgbase = udash-generator
+ pkgdesc = Udash project generator
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = http://www.udash.io
+ arch = any
+ license = custom
+ depends = java-environment
+ source = https://github.com/UdashFramework/udash-generator/releases/download/v0.1.0/udash-generator-0.1.0.zip
+ source = udash-generator.sh
+ md5sums = c93a583e46438c3618cbdb7505c00899
+ md5sums = 88d5a254ac9d259bf693cf45c93b2021
+
+pkgname = udash-generator
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d3ba1186b42
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Lukasz Pozarlik <lpozarlik@gmail.com>
+
+pkgname="udash-generator"
+pkgdesc="Udash project generator"
+pkgver=0.1.0
+pkgrel=1
+url="http://www.udash.io"
+license=('custom')
+arch=('any')
+source=("https://github.com/UdashFramework/udash-generator/releases/download/v${pkgver}/udash-generator-${pkgver}.zip"
+ "udash-generator.sh")
+md5sums=('c93a583e46438c3618cbdb7505c00899'
+ '88d5a254ac9d259bf693cf45c93b2021')
+depends=('java-environment')
+
+package(){
+ mkdir -p "${pkgdir}/usr/bin/"
+ mkdir -p "${pkgdir}/opt/${pkgname}"
+ install -Dm644 "${srcdir}/udash-generator.jar" "${pkgdir}/opt/${pkgname}/udash-generator.jar"
+ install -Dm755 "${srcdir}/udash-generator.sh" "${pkgdir}/opt/${pkgname}/udash-generator.sh"
+ ln -s "/opt/${pkgname}/udash-generator.sh" "${pkgdir}/usr/bin/udash-generator"
+}
diff --git a/udash-generator.sh b/udash-generator.sh
new file mode 100755
index 00000000000..1991ce98a4a
--- /dev/null
+++ b/udash-generator.sh
@@ -0,0 +1,2 @@
+#!/usr/bin/env bash
+java -jar /opt/udash-generator/udash-generator.jar