pisi-appstream-data packaged
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import shelltools
|
||||
|
||||
def install():
|
||||
shelltools.system("DESTDIR=%s appstream-util install pisi-1.xml.gz pisi-1-icons.tar.gz" % get.installDIR())
|
||||
shelltools.system("chmod 00755 %s/usr/share/app-info/xmls" % get.installDIR())
|
||||
shelltools.system("chmod 00644 %s/usr/share/app-info/xmls/pisi-1.xml.gz" % get.installDIR())
|
||||
shelltools.system("ln -sv pisi-1 '%s/usr/share/app-info/icons/pisi'" % get.installDIR())
|
||||
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>pisi-appstream-data</Name>
|
||||
<Homepage>https://github.com/pisilinux/pisi-appstream-data</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>CC-BY-SA 3.0</License>
|
||||
<IsA>data</IsA>
|
||||
<Summary>Appstream data for Pisi GNU/Linux</Summary>
|
||||
<Description>Appstream data for Pisi GNU/Linux in order to be used in applications such as GNOME Software, KDE Discover etc.</Description>
|
||||
<Archive sha1sum="385f729af75b47b04efcead3ea360f8376d13eda" type="targz">https://github.com/pisilinux/pisi-appstream-data/archive/refs/tags/20210710.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>appstream-glib-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>pisi-appstream-data</Name>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/share/app-info/xmls</Path>
|
||||
<Path fileType="data">/usr/share/app-info/icons</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2021-07-10</Date>
|
||||
<Version>20210710</Version>
|
||||
<Comment>First release for Pisi Linux</Comment>
|
||||
<Name>Berk Çakar</Name>
|
||||
<Email>berk2238@hotmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user