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