diff options
author | Egidio Caprino | 2023-05-29 15:46:14 +0200 |
---|---|---|
committer | Egidio Caprino | 2023-05-29 15:46:14 +0200 |
commit | 9d9ffc2a09c3fe437c8c1fe49fe361aa2361bf8d (patch) | |
tree | 286e559be976b56bfb22d1f146fe3ca1485b70e0 | |
parent | 44de0d198f7983f4e26fd232a7ccdbdf8a301eec (diff) | |
download | aur-9d9ffc2a09c3fe437c8c1fe49fe361aa2361bf8d.tar.gz |
fix: invalid launcher
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 | ||||
-rw-r--r-- | launcher.sh | 4 |
3 files changed, 10 insertions, 5 deletions
@@ -7,9 +7,11 @@ pkgbase = kitchenowl license = GPL3 source = kitchenowl.png source = kitchenowl.desktop + source = launcher.sh source = kitchenowl-0.4.4.tar.gz::https://github.com/TomBursch/kitchenowl/releases/download/v0.4.4/kitchenowl_Linux.tar.gz sha256sums = 06f7b7e317e1732feda0bce957af7bf7b8a797147d865951df21532cb949863b sha256sums = 8ec1df01450010aefb23728c69b8ff6eb2d9ceae9e1e1464374c6f0ae36a30c1 + sha256sums = 15c3bbe7db615abc3745c5d013e0c04b6e47ad48265ecdc077d59dadcdb1bffa sha256sums = 4fceaa89a54de1f63567268ccfcd10baecb50d162bd3272eddcb4ba72114ee52 pkgname = kitchenowl @@ -1,6 +1,6 @@ pkgname="kitchenowl" pkgver=0.4.4 -pkgrel=1 +pkgrel=2 pkgdesc="KitchenOwl is a self-hosted grocery list and recipe manager." arch=("x86_64") url="https://github.com/TomBursch/kitchenowl" @@ -8,24 +8,23 @@ license=("GPL3") source=( "kitchenowl.png" "kitchenowl.desktop" + "launcher.sh" "${pkgname%}-${pkgver}.tar.gz::https://github.com/TomBursch/kitchenowl/releases/download/v${pkgver}/kitchenowl_Linux.tar.gz" ) sha256sums=( "06f7b7e317e1732feda0bce957af7bf7b8a797147d865951df21532cb949863b" "8ec1df01450010aefb23728c69b8ff6eb2d9ceae9e1e1464374c6f0ae36a30c1" + "15c3bbe7db615abc3745c5d013e0c04b6e47ad48265ecdc077d59dadcdb1bffa" "4fceaa89a54de1f63567268ccfcd10baecb50d162bd3272eddcb4ba72114ee52" ) package() { install -d "$pkgdir/opt/${pkgname}" - install -d "${pkgdir}/usr/bin" - cp -r "$srcdir/data" "$pkgdir/opt/${pkgname}/" cp -r "$srcdir/lib" "$pkgdir/opt/${pkgname}/" cp "$srcdir/kitchenowl" "$pkgdir/opt/${pkgname}/" - ln -s "$pkgdir/opt/${pkgname}/kitchenowl" "${pkgdir}/usr/bin/kitchenowl" - chmod +x "${pkgdir}/usr/bin/kitchenowl" install -Dm644 "${srcdir}/kitchenowl.png" "${pkgdir}/usr/share/icons/kitchenowl.png" install -Dm644 "${srcdir}/kitchenowl.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" + install -Dm755 "${srcdir}/launcher.sh" "${pkgdir}/usr/bin/kitchenowl" } diff --git a/launcher.sh b/launcher.sh new file mode 100644 index 000000000000..41273c9f0418 --- /dev/null +++ b/launcher.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config} +exec /opt/kitchenowl/kitchenowl "$@" |