File tree 4 files changed +24
-2
lines changed
4 files changed +24
-2
lines changed Original file line number Diff line number Diff line change 1
- pkgname=chameleonultragui
1
+ pkgname=chameleonultragui-git
2
2
pkgver=0.0.0
3
3
pkgrel=1
4
4
pkgdesc=' PKGBUILD for the Chameleon Ultra GUI'
@@ -9,6 +9,11 @@ makedepends=('flutter' 'clang' 'cmake' 'ninja' 'pkgconf' 'xz')
9
9
source=(" git+https://github.com/GameTec-live/ChameleonUltraGUI.git#branch=main" )
10
10
sha256sums=(' SKIP' )
11
11
12
+ pkgver () {
13
+ cd " $pkgname "
14
+ printf " r%s.%s" " $( git rev-list --count HEAD) " " $( git rev-parse --short=7 HEAD) "
15
+ }
16
+
12
17
prepare (){
13
18
cd " ChameleonUltraGUI/chameleonultragui"
14
19
flutter --no-version-check config --no-analytics
@@ -25,8 +30,12 @@ package() {
25
30
cd " ChameleonUltraGUI/chameleonultragui/build/linux/x64/release/bundle/"
26
31
# create the target folders
27
32
install -dm 755 " $pkgdir /opt/$pkgname " " $pkgdir /usr/bin/"
33
+ install -Dm644 " ../../../../../aur/chameleonultragui.desktop" \
34
+ " ${pkgdir} /usr/share/applications/chameleonultragui.desktop"
35
+ install -Dm644 " ../../../../../aur/chameleonultragui.png" \
36
+ " ${pkgdir} /usr/share/pixmaps/chameleonultragui.png"
28
37
# copy the bundled output to /opt
29
38
cp -rdp --no-preserve=ownership . " $pkgdir /opt/$pkgname /"
30
39
# symlink to /usr/bin so the app can be found in PATH
31
- ln -s " /opt/$pkgname /flutterapp " " $pkgdir /usr/bin/$pkgname "
40
+ ln -s " /opt/$pkgname /chameleonultragui " " $pkgdir /usr/bin/$pkgname "
32
41
}
Original file line number Diff line number Diff line change @@ -52,3 +52,4 @@ app.*.map.json
52
52
android /fastlane /report.xml
53
53
** /upload-keystore.jks
54
54
** /AuthKey * .p8
55
+ ** /cert_key
Original file line number Diff line number Diff line change
1
+ [Desktop Entry]
2
+ Version =1.0
3
+ Name =Chameleon Ultra GUI
4
+ GenericName =Chameleon Ultra GUI
5
+ Comment =GUI app for Chameleon Ultra and Lite
6
+ Terminal =false
7
+ Type =Application
8
+ Categories =Utility
9
+ Exec =chameleonultragui %u
10
+ TryExec =chameleonultragui
11
+ Icon =chameleonultragui
12
+ Keywords =Flutter;share;files;chameleon;chameleonultra;chameleonlite;
You can’t perform that action at this time.
0 commit comments