Commit | Line | Data |
---|---|---|
c0d0c66b FT |
1 | # -*-shell-script-*- |
2 | ||
3 | [Meta] | |
4 | RootName: @dolda2000.com/fredrik/doldaconnect/guishell:$SOFTWAREVERSION | |
5 | DisplayName: Dolda Connect GUI | |
6 | ShortName: doldaconnect-guishell | |
7 | Maintainer: Fredrik Tolf <fredrik@dolda2000.com> | |
8 | Packager: Fredrik Tolf <fredrik@dolda2000.com> | |
9 | Summary: A friendly GUI for Dolda Connect | |
10 | URL: http://www.dolda2000.com/~fredrik/doldaconnect/ | |
11 | License: GNU General Public License, Version 2 or later | |
12 | SoftwareVersion: @VERSION@ | |
13 | Repository: http://www.dolda2000.com/~fredrik/doldaconnect/ap/doldaconnect-guishell.xml | |
14 | AutopackageTarget: 1.2 | |
88ef9b91 | 15 | PackageFileName: doldaconnect-guishell-@VERSION@.package |
c0d0c66b FT |
16 | |
17 | [BuildPrepare] | |
93d88dde | 18 | echo "apkg" >source |
c0d0c66b FT |
19 | prepareBuild --enable-dolconf --enable-guishell --disable-gtk2ui --disable-daemon |
20 | ||
21 | [BuildUnprepare] | |
22 | unprepareBuild | |
23 | ||
24 | [Imports] | |
a96bf02b | 25 | echo bin share | import |
c0d0c66b FT |
26 | |
27 | [Prepare] | |
28 | require @gtk.org/gtk 2.10 | |
29 | require @dolda2000.com/fredrik/doldaconnect/dcuilib 1.1 | |
28de842c | 30 | requireAtLeast "@dolda2000.com/fredrik/doldaconnect/dolcon:@VERSION@" |
1c6850c0 | 31 | requireAtLeast "@dolda2000.com/fredrik/doldaconnect/doldacond:@VERSION@" |
c0d0c66b FT |
32 | |
33 | [Install] | |
34 | installExe bin/dolconf | |
35 | installExe bin/dolcon-launch | |
36 | installExe bin/doldacond-shell | |
37 | installLocale share/locale | |
a96bf02b | 38 | installIcon share/icons/hicolor |
84993614 FT |
39 | createBootstrapScript "$PREFIX/bin/dolcon-launch" "$PREFIX/bin/dolcon-launch.apkg" |
40 | sed -i 's/\(Exec *= *dolcon-launch\)/\1.apkg/' share/applications/dolcon.desktop | |
a96bf02b | 41 | installMenuItem "Network/File sharing" share/applications/dolcon.desktop |
c0d0c66b FT |
42 | |
43 | [Uninstall] | |
44 | # Usually just the following line is enough to uninstall everything | |
45 | uninstallFromLog |