-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathio.github.carterbox.Electricity_Clock.yml
54 lines (52 loc) · 2.26 KB
/
io.github.carterbox.Electricity_Clock.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
app-id: io.github.carterbox.Electricity_Clock
runtime: org.freedesktop.Platform
runtime-version: '22.08'
sdk: org.freedesktop.Sdk
command: electricity_clock
finish-args:
- --share=network
- --socket=wayland
- --socket=fallback-x11
- --device=dri
- --share=ipc
modules:
- name: app
buildsystem: simple
sources:
- type: file
path: io.github.carterbox.Electricity_Clock.desktop
- type: file
path: io.github.carterbox.Electricity_Clock.metainfo.xml
- type: archive
only-arches:
- x86_64
url: https://github.com/carterbox/tofu/releases/download/2.4.0/io.github.carterbox.tofu-linux-x86_64-2.4.0.tar.gz
sha256: 68a74e50a5a5416c0e6bae52519bb203d68db4a57775ace1dcc0b323b3b863ab
x-checker-data:
type: json
url: https://api.github.com/repos/carterbox/tofu/releases/latest
version-query: .tag_name
url-query: .assets[] | select(.name=="io.github.carterbox.tofu-linux-x86_64-"
+ $version + ".tar.gz") | .browser_download_url
- type: archive
only-arches:
- aarch64
url: https://github.com/carterbox/tofu/releases/download/2.3.0/io.github.carterbox.tofu-linux-arm64-2.3.0.tar.gz
sha256: 13b98d4bf79ac5e04c39f2afe3e2a837347185276666a66cb155370e09c8e623
x-checker-data:
type: json
url: https://api.github.com/repos/carterbox/tofu/releases/latest
version-query: .tag_name
url-query: .assets[] | select(.name=="io.github.carterbox.tofu-linux-arm64-"
+ $version + ".tar.gz") | .browser_download_url
build-commands:
- mkdir -p /app/Electricity_Clock
- mv electricity_clock /app/Electricity_Clock/electricity_clock
- mv lib /app/Electricity_Clock
- mv data /app/Electricity_Clock
- chmod +x /app/Electricity_Clock/electricity_clock
- mkdir -p /app/bin
- ln -s /app/Electricity_Clock/electricity_clock /app/bin/electricity_clock
- install -Dm644 icon.png /app/share/icons/hicolor/512x512/apps/io.github.carterbox.Electricity_Clock.png
- install -Dm644 io.github.carterbox.Electricity_Clock.desktop -t /app/share/applications/
- install -Dm644 io.github.carterbox.Electricity_Clock.metainfo.xml -t /app/share/metainfo/