diff options
author | tee | 2023-09-06 17:57:19 +1200 |
---|---|---|
committer | tee | 2023-09-06 17:57:19 +1200 |
commit | 8c2fc23c7d50b77487504a6ad95197be6ca9a7db (patch) | |
tree | 18cc5de62b5e8960f175756ad4a51ec529e56d39 | |
parent | ded72adb8aa09e4b33a9979810ea432bbbda511a (diff) | |
download | aur-8c2fc23c7d50b77487504a6ad95197be6ca9a7db.tar.gz |
Fix .desktop file
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 8 insertions, 9 deletions
@@ -1,7 +1,7 @@ pkgbase = appflowy-bin pkgdesc = AppFlowy is an open-source alternative to Notion. You are in charge of your data and customizations. pkgver = 0.3.1 - pkgrel = 2 + pkgrel = 3 url = https://appflowy.io arch = x86_64 license = AGPL @@ -13,9 +13,9 @@ pkgbase = appflowy-bin conflicts = appflowy source = https://github.com/AppFlowy-IO/AppFlowy/raw/0.3.1/LICENSE source = https://github.com/AppFlowy-IO/AppFlowy/raw/0.3.1/frontend/scripts/linux_distribution/deb/AppFlowy.desktop - source = appflowy-bin-0.3.1-2.tar.gz::https://github.com/AppFlowy-IO/AppFlowy/releases/download/0.3.1/AppFlowy_x86_64-unknown-linux-gnu_ubuntu-20.04.tar.gz + source = appflowy-bin-0.3.1-3.tar.gz::https://github.com/AppFlowy-IO/AppFlowy/releases/download/0.3.1/AppFlowy_x86_64-unknown-linux-gnu_ubuntu-20.04.tar.gz b2sums = 6fa2a6adf165a614637f4aae5b323c427b99c2d13f9ab55eefae012dc3dbeebe5957cd2e2497e4c38426088a41dac89f6ac6284af6cf6a4a67a6780f409e8237 - b2sums = d5b229bbae978881abc0ea3edb665ddda510072b448f5ba334aea4b54b91cf7a1a5fb9582c127ec0c34626737920cb7b1038387f02565694c2e7a51d2615f779 + b2sums = 7d56e1feeb7d65ed662d92dcf2fd5e7af2d6cb6823237bce85ffe8c0f07a3b65b043cd01888375f09b9cd2081dd9639d28639f1eff4c447a4728981d9433dd8f b2sums = 2146fd99ede45a74b7b20513e26f6d88745c9f0593df92c4f6925b8eafb432245013027c51d7192ebec61f39ffea7427c6b66e1ca408501d5c7aba00fdb4ae22 pkgname = appflowy-bin @@ -4,7 +4,7 @@ pkgname=appflowy-bin _pkgname=appflowy pkgver=0.3.1 -pkgrel=2 +pkgrel=3 pkgdesc="AppFlowy is an open-source alternative to Notion. You are in charge of your data and customizations." arch=('x86_64') url="https://appflowy.io" @@ -18,19 +18,18 @@ source=( "${_src}/raw/${pkgver}/frontend/scripts/linux_distribution/deb/AppFlowy.desktop" "$pkgname-$pkgver-$pkgrel.tar.gz::${_src}/releases/download/${pkgver}/AppFlowy_x86_64-unknown-linux-gnu_ubuntu-20.04.tar.gz") b2sums=('6fa2a6adf165a614637f4aae5b323c427b99c2d13f9ab55eefae012dc3dbeebe5957cd2e2497e4c38426088a41dac89f6ac6284af6cf6a4a67a6780f409e8237' - 'd5b229bbae978881abc0ea3edb665ddda510072b448f5ba334aea4b54b91cf7a1a5fb9582c127ec0c34626737920cb7b1038387f02565694c2e7a51d2615f779' + '7d56e1feeb7d65ed662d92dcf2fd5e7af2d6cb6823237bce85ffe8c0f07a3b65b043cd01888375f09b9cd2081dd9639d28639f1eff4c447a4728981d9433dd8f' '2146fd99ede45a74b7b20513e26f6d88745c9f0593df92c4f6925b8eafb432245013027c51d7192ebec61f39ffea7427c6b66e1ca408501d5c7aba00fdb4ae22') -prepare(){ - sed -i 's|/bin/AppFlowy|/bin/appflowy|' AppFlowy.desktop - sed -i 's|Icon=.*|Icon=/usr/share/appflowy/data/flutter_assets/assets/images/flowy_logo.svg|' AppFlowy.desktop -} package(){ install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$_pkgname" install -Dm644 AppFlowy.desktop -t "$pkgdir/usr/share/applications" + install -Dm644 "AppFlowy/data/flutter_assets/assets/images/flowy_logo.svg" \ + "$pkgdir/usr/share/icons/hicolor/scalable/apps/appflowy.svg" cd AppFlowy install -dDm755 "$pkgdir"/{usr/share/"$_pkgname",usr/bin} cp -a * "$pkgdir/usr/share/$_pkgname/" ln -s "/usr/share/$_pkgname/AppFlowy" "$pkgdir/usr/bin/$_pkgname" + ln -s "/usr/share/$_pkgname/AppFlowy" -t "$pkgdir/usr/bin/" } |