putty-0.83

This commit is contained in:
uglyside
2025-02-11 15:45:10 +03:00
parent 9c70b6e6f7
commit 1bb7ebcf1a
2 changed files with 32 additions and 23 deletions
+16 -13
View File
@@ -1,22 +1,25 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import get
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import cmaketools, mesontools, pisitools
i = ''.join([
' -DCMAKE_INSTALL_PREFIX=/usr',
' -DCMAKE_BUILD_TYPE=Release',
' -DPUTTY_GTK_VERSION=2',
' -Bbuild -G Ninja -L '
])
def setup():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release", sourceDir="..")
cmaketools.configure(i)
def build():
shelltools.cd("build")
cmaketools.make()
mesontools.build()
def install():
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
mesontools.install()
pisitools.dodoc("LICENCE")
+16 -10
View File
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>putty</Name>
@@ -11,19 +11,20 @@
<License>MIT</License>
<Icon>putty</Icon>
<IsA>app:gui</IsA>
<Summary>A terminal integrated SSH/Telnet client</Summary>
<Description>A terminal integrated SSH/Telnet client</Description>
<Archive sha1sum="1cd7faf24df511b93363742794e3fcecf2b277cc" type="targz">https://the.earth.li/~sgtatham/putty/0.77/putty-0.77.tar.gz</Archive>
<Summary>A terminal integrated SSH/Telnet client.</Summary>
<Description>A terminal integrated SSH/Telnet client.</Description>
<Archive sha1sum="f9fd9ab5e3849bf8c22b218cdb7697dcdd1d8c9e" type="targz">https://the.earth.li/~sgtatham/putty/latest/putty-0.83.tar.gz</Archive>
<BuildDependencies>
<Dependency>extra-cmake-modules</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>cmake</Dependency>
<Dependency>ninja</Dependency>
<Dependency>gtk2-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>putty</Name>
<RuntimeDependencies>
<Dependency>gtk3</Dependency>
<Dependency>gtk2</Dependency>
<Dependency>cairo</Dependency>
<Dependency>glib2</Dependency>
<Dependency>pango</Dependency>
@@ -32,9 +33,7 @@
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="data">/usr/share/man</Path>
<Path fileType="data">/usr/share/pixmaps</Path>
<Path fileType="data">/usr/share</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/usr/share/applications/putty.desktop">putty.desktop</AdditionalFile>
@@ -44,6 +43,13 @@
</Package>
<History>
<Update release="2">
<Date>2025-02-10</Date>
<Version>0.83</Version>
<Comment>Version bump</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2022-10-01</Date>
<Version>0.77</Version>