summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorpozar2016-04-10 18:56:44 +0200
committerpozar2016-04-10 18:56:44 +0200
commitc6a8f537948ca07cf78f1fc47b781bd5f9590184 (patch)
treebadb10bc5c9f78f95ca99852bf0d81b85810b59b /PKGBUILD
downloadaur-c6a8f537948ca07cf78f1fc47b781bd5f9590184.tar.gz
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 22 insertions, 0 deletions
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"
+}