summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e7aec5bb2b7..48c86cf9156 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=kaizen
pkgdesc="Kaizen ElasticSearch GUI"
pkgver=6.840.109
-pkgrel=1
+pkgrel=2
arch=('x86_64')
url='https://www.elastic-kaizen.com/'
license=('custom')
@@ -17,7 +17,7 @@ source=("${_pkgsrc}::https://elastic-kaizen.com/install/${pkgver}/${_pkgsrc}"
"kaizen.png")
sha512sums=('ea678099ccbae296e872ffa41262501d7802be91e26850d26e8a01f35604606290e974c28fd563d8770eed145184246cfd779d0a80230c98b17547a898f484bc'
- 'c7555c9173855402c3d47acc0b624e7ef26018b0f31d20db74eb52afea76b6109bec3d66bf3dad99194917dc9a58f784bc45662aa899f633fd2c7adfea4852d1'
+ '8e055220939a3e7ff5441353dcbed4ef432b25e0aeac772e11e9a0f9b4fb9a91f8f5cd694eac6f1031cf1a6ff136cee6b43a51d07238ed5efd5491dd060799f2'
'35e15a34c425c8af17c1141a35cec0cbea6aba65d01443fb39ceb09ff51bb30ab356192d54b33dfb953ef9ddc6e489e42067358543f129e03f9a0c4f5a041529'
'a0277b72a04cfa7dad2ae8819fc5a009211bbbb44645cc1b7f73fb66e9473d47d5fa6273dfc977bd6746bc435e5ddc21ba28d3cb03e3f090ae6b5ac82137b913')
@@ -26,6 +26,7 @@ build() {
# Correct kaizen.sh
sed -e "s/jvm/\/opt\/${pkgname}\/jvm/g" -i "$srcdir/${pkgname}.sh"
sed -e "s/${pkgname}.jar/\/opt\/${pkgname}\/${pkgname}.jar/g" -i "$srcdir/${pkgname}.sh"
+ sed -e "s/bash/bash\ncd \$HOME\/.config\/kaizen/" -i "$srcdir/${pkgname}.sh"
}
package() {
@@ -38,7 +39,7 @@ package() {
cp -a "${srcdir}/${pkgname}.sh" "${pkgdir}/opt/${pkgname}/"
cp -a "${srcdir}/jvm" "${pkgdir}/opt/${pkgname}/"
- # dirty hack
+ # hack to create config folder
mkdir -p "$HOME/.config/${pkgname}"
install -Dm644 "${pkgname}.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/${pkgname}.png"