summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorpozar2016-08-17 19:30:41 +0200
committerpozar2016-08-17 19:30:41 +0200
commit09de13a22ed14768383ac13d6b8981994055c694 (patch)
tree2c94076216cfe324f8a74b40b9a33a494811fdde
parenta409eded01e927164d8a6aaf2ac4ad386c7481c3 (diff)
downloadaur-09de13a22ed14768383ac13d6b8981994055c694.tar.gz
cosmetics
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD17
2 files changed, 11 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 443e7343912..3122af07e29 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Tue Jul 12 19:44:32 UTC 2016
+# Wed Aug 17 17:29:10 UTC 2016
pkgbase = udash-generator
pkgdesc = Udash project generator
pkgver = 0.3.0
diff --git a/PKGBUILD b/PKGBUILD
index 64efcf3e28b..e9b6eefda12 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,12 @@
# Maintainer: Lukasz Pozarlik <lpozarlik@gmail.com>
-pkgname="udash-generator"
-pkgdesc="Udash project generator"
-pkgver=0.3.0
-pkgrel=1
+pkgname='udash-generator'
+pkgver='0.3.0'
+pkgrel='1'
+pkgdesc='Udash project generator'
url="https://github.com/UdashFramework/udash-generator"
-license=('Apache')
arch=('any')
+license=('Apache')
source=("https://github.com/UdashFramework/udash-generator/releases/download/v${pkgver}/udash-generator.zip"
"https://raw.githubusercontent.com/UdashFramework/udash-generator/master/LICENSE"
"udash-generator.sh")
@@ -15,7 +15,7 @@ md5sums=('5d7c9fef852af63f089a939df5681043'
'88d5a254ac9d259bf693cf45c93b2021')
depends=('java-environment')
-package(){
+package() {
mkdir -p "${pkgdir}/usr/bin/"
mkdir -p "${pkgdir}/opt/${pkgname}"
mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
@@ -23,6 +23,9 @@ package(){
install -Dm644 "${srcdir}/udash-generator.jar" "${pkgdir}/opt/${pkgname}/udash-generator.jar"
install -Dm755 "${srcdir}/udash-generator.sh" "${pkgdir}/opt/${pkgname}/udash-generator.sh"
install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
+
ln -s "/opt/${pkgname}/udash-generator.sh" "${pkgdir}/usr/bin/udash-generator"
}
+
+# vim: ts=2 sw=2 et
+