add clamtk.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import shelltools, pisitools
|
||||
|
||||
def install():
|
||||
for lib in shelltools.ls("lib/*"):
|
||||
shelltools.chmod(lib, mode = 0644)
|
||||
pisitools.insinto("/usr/lib/perl5/vendor_perl/5.32.0/ClamTk", lib)
|
||||
|
||||
for mo in shelltools.ls("po/*.po"):
|
||||
shelltools.chmod(lib, mode = 0644)
|
||||
pisitools.domo(mo, shelltools.baseName(mo).replace(".po", ""), "clamtk.mo")
|
||||
|
||||
pisitools.dobin("clamtk")
|
||||
pisitools.insinto("/usr/share/applications", "clamtk.desktop")
|
||||
pisitools.dopixmaps("images/*")
|
||||
pisitools.doman("clamtk.1.gz")
|
||||
|
||||
pisitools.insinto("/usr/share/appdata", "com.github.davetheunsub.clamtk.appdata.xml")
|
||||
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>clamtk</Name>
|
||||
<Homepage>https://gitlab.com/dave_m/clamtk/-/wikis/home</Homepage>
|
||||
<Packager>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Packager>
|
||||
<License>GPL</License>
|
||||
<License>Artistic</License>
|
||||
<IsA>app:gui</IsA>
|
||||
<PartOf>util.antivirus</PartOf>
|
||||
<Summary>ClamAV GUI.</Summary>
|
||||
<Description>ClamTk is a graphical front-end for ClamAV using Perl and Gtk libraries.</Description>
|
||||
<Archive sha1sum="856bd1c9b76cd77f0fc3f548904ecb61ea6ce2f7" type="tarxz">
|
||||
https://github.com/dave-theunsub/clamtk/releases/download/v6.14/clamtk-6.14.tar.xz
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<!-- <Dependency></Dependency> -->
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!-- <Patch level='1'></Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>clamtk</Name>
|
||||
<RuntimeDependencies>
|
||||
<!-- <Dependency></Dependency> -->
|
||||
<Dependency>clamav</Dependency>
|
||||
<Dependency>zenity</Dependency>
|
||||
<Dependency>python3</Dependency>
|
||||
<Dependency>perl-Gtk3</Dependency>
|
||||
<Dependency>perl-JSON</Dependency>
|
||||
<Dependency>vixie-cron</Dependency>
|
||||
<Dependency>perl-libwww</Dependency>
|
||||
<Dependency>perl-Text-CSV</Dependency>
|
||||
<Dependency>perl-HTTP-Message</Dependency>
|
||||
<Dependency>perl-Locale-gettext</Dependency>
|
||||
<Dependency>perl-LWP-Protocol-https</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="data">/usr/lib/perl5/vendor_perl/5.32.0/ClamTk</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2022-11-15</Date>
|
||||
<Version>6.14</Version>
|
||||
<Comment>First build.</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user