diff --git a/scripts/newpisipackage b/scripts/newpisipackage index 218ff0f6..f587e9cd 100755 --- a/scripts/newpisipackage +++ b/scripts/newpisipackage @@ -14,7 +14,8 @@ import string packagerfile = ".pisipackager" -data = {"date": time.strftime("%Y-%m-%d")} +data = {"date": time.strftime("%Y-%m-%d"), + "year": time.strftime("%Y")} temp_pspec = ''' @@ -27,21 +28,20 @@ temp_pspec = ''' %(packager_email)s GPLv2 + %(package)s app:gui - - - + --> @@ -51,15 +51,17 @@ temp_pspec = ''' / - + --> + @@ -77,7 +79,7 @@ temp_pspec = ''' temp_actions = '''#!/usr/bin/python # -*- coding: utf-8 -*- # -# Copyright 2006 TUBITAK/UEKAE +# Copyright %(year)s TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/copyleft/gpl.txt. @@ -117,10 +119,13 @@ Categories=Application;Game;ArcadeGame ''' temp_service = '''serviceType = "local" -serviceDesc = "%(package_cap)s" +from comar.service import * + +serviceType = "local" serviceDefault = "off" -from comar.service import * +serviceDesc = _({"en": "%(package_cap)s", + "tr": "%(package_cap)s"}) def start(): if 0 == run('/sbin/start-stop-daemon --quiet --start --exec /usr/bin/%(package)s --pidfile /var/run/%(package)s.pid'):