summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 8 insertions, 2 deletions
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"
}