-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
32 lines (24 loc) · 815 Bytes
/
Makefile
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
VER = 0.7
ID = kde.plasma.timekeeper
view:
plasmoidviewer --applet package
qml:
qmlscene package/contents/ui/main.qml
install: version
kpackagetool5 -t Plasma/Applet --install package
upgrade: version
kpackagetool5 -t Plasma/Applet --upgrade package
remove:
kpackagetool5 -t Plasma/Applet --remove $(ID)
ls:
kpackagetool5 --list --type Plasma/Applet
version:
sed -i 's/^X-KDE-PluginInfo-Version=.*$$/X-KDE-PluginInfo-Version=$(VER)/' package/metadata.desktop
sed -i 's/^X-KDE-PluginInfo-Name=.*$$/X-KDE-PluginInfo-Name=$(ID)/' package/metadata.desktop
plasmoid: version
cd package; zip -r ../timekeeper-$(VER).plasmoid *
7z: version
cd package; 7z a -tzip ../timekeeper-$(VER).plasmoid *
clear:
find . -type f -name '*.qmlc' -delete
find . -type f -name '*.jsc' -delete