Skip to content

Commit

Permalink
fix-pkgbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
GameTec-live committed Aug 29, 2023
1 parent b7fbe0c commit c380616
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
6 changes: 5 additions & 1 deletion PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@ package() {
cd "ChameleonUltraGUI/chameleonultragui/build/linux/x64/release/bundle/"
# create the target folders
install -dm 755 "$pkgdir/opt/$pkgname" "$pkgdir/usr/bin/"
install -Dm644 "../../../../../aur/chameleonultragui.desktop" \
"${pkgdir}/usr/share/applications/chameleonultragui.desktop"
install -Dm644 "../../../../../aur/chameleonultragui.png" \
"${pkgdir}/usr/share/pixmaps/chameleonultragui.png"
# copy the bundled output to /opt
cp -rdp --no-preserve=ownership . "$pkgdir/opt/$pkgname/"
# symlink to /usr/bin so the app can be found in PATH
ln -s "/opt/$pkgname/flutterapp" "$pkgdir/usr/bin/$pkgname"
ln -s "/opt/$pkgname/chameleonultragui" "$pkgdir/usr/bin/$pkgname"
}
12 changes: 12 additions & 0 deletions chameleonultragui/aur/chameleonultragui.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Desktop Entry]
Version=1.0
Name=Chameleon Ultra GUI
GenericName=Chameleon Ultra GUI
Comment=GUI app for Chameleon Ultra and Lite
Terminal=false
Type=Application
Categories=Utility
Exec=chameleonultragui %u
TryExec=chameleonultragui
Icon=chameleonultragui
Keywords=Flutter;share;files;chameleon;chameleonultra;chameleonlite;
Binary file added chameleonultragui/aur/chameleonultragui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c380616

Please sign in to comment.