summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD10
2 files changed, 13 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 71b131f146c..80ed3bd17bc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,18 @@
# Generated by mksrcinfo v8
-# Sun Apr 10 16:55:39 UTC 2016
+# Thu Apr 14 11:50:25 UTC 2016
pkgbase = udash-generator
pkgdesc = Udash project generator
pkgver = 0.1.0
- pkgrel = 1
+ pkgrel = 2
url = http://www.udash.io
arch = any
- license = custom
+ license = GPL
depends = java-environment
source = https://github.com/UdashFramework/udash-generator/releases/download/v0.1.0/udash-generator-0.1.0.zip
+ source = https://raw.githubusercontent.com/UdashFramework/udash-demos/master/LICENSE
source = udash-generator.sh
md5sums = c93a583e46438c3618cbdb7505c00899
+ md5sums = 84dcc94da3adb52b53ae4fa38fe49e5d
md5sums = 88d5a254ac9d259bf693cf45c93b2021
pkgname = udash-generator
diff --git a/PKGBUILD b/PKGBUILD
index d3ba1186b42..53d8d77add0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,20 +3,26 @@
pkgname="udash-generator"
pkgdesc="Udash project generator"
pkgver=0.1.0
-pkgrel=1
+pkgrel=2
url="http://www.udash.io"
-license=('custom')
+license=('GPL')
arch=('any')
source=("https://github.com/UdashFramework/udash-generator/releases/download/v${pkgver}/udash-generator-${pkgver}.zip"
+ "https://raw.githubusercontent.com/UdashFramework/udash-demos/master/LICENSE"
"udash-generator.sh")
md5sums=('c93a583e46438c3618cbdb7505c00899'
+ '84dcc94da3adb52b53ae4fa38fe49e5d'
'88d5a254ac9d259bf693cf45c93b2021')
depends=('java-environment')
package(){
mkdir -p "${pkgdir}/usr/bin/"
mkdir -p "${pkgdir}/opt/${pkgname}"
+ mkdir -p "${pkgdir}/usr/share/licenses/${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"
+ install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
ln -s "/opt/${pkgname}/udash-generator.sh" "${pkgdir}/usr/bin/udash-generator"
}