kde-servicemenu-rootactions

This commit is contained in:
Rmys
2025-12-28 13:35:52 +03:00
committed by GitHub
parent cdead7652e
commit ad34c065fd
2 changed files with 24 additions and 7 deletions
@@ -4,13 +4,22 @@
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt # See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import get from pisi.actionsapi import get
WorkDir = "rootactions_servicemenu_%s" % get.srcVERSION() # WorkDir = "rootactions_servicemenu_%s" % get.srcVERSION()
def setup():
autotools.autoreconf("-iv")
autotools.configure()
def build():
autotools.make()
def install(): def install():
pisitools.insinto("/usr/share/kservices5/ServiceMenus", "Root_Actions_%s/dolphin-KDE4/*.desktop" % get.srcVERSION()) autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dobin("Root_Actions_%s/rootactions-servicemenu.pl" % get.srcVERSION()) # pisitools.insinto("/usr/share/kservices5/ServiceMenus", "Root_Actions_%s/dolphin-KDE4/*.desktop" % get.srcVERSION())
# pisitools.dobin("Root_Actions_%s/rootactions-servicemenu.pl" % get.srcVERSION())
pisitools.dodoc("README") pisitools.dodoc("README*")
@@ -1,5 +1,5 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd"> <!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI> <PISI>
<Source> <Source>
<Name>kde-servicemenu-rootactions</Name> <Name>kde-servicemenu-rootactions</Name>
@@ -14,7 +14,7 @@
<IsA>app:gui</IsA> <IsA>app:gui</IsA>
<Summary>Root actions servicemenu for Dolphin</Summary> <Summary>Root actions servicemenu for Dolphin</Summary>
<Description>kde-servicemenu-rootactions is an addon for KDE that provides a convenient way to perform several actions as root from the right-click context menu in Dolphin file manager.</Description> <Description>kde-servicemenu-rootactions is an addon for KDE that provides a convenient way to perform several actions as root from the right-click context menu in Dolphin file manager.</Description>
<Archive sha1sum="8f3f8b7842a96a7a1f53354733feee9c492f5008" type="targz">https://sourceforge.net/projects/pisilinux/files/source/rootactions_servicemenu_2.9.1.tar.gz</Archive> <Archive sha1sum="a1b227082f7cbb2388e55d73a2c6519206518d3c" type="tarbz2">https://gitlab.com/stefanwimmer128/kf6-servicemenus-rootactions/-/archive/v1.2.0/kf6-servicemenus-rootactions-v1.2.0.tar.bz2</Archive>
<Patches> <Patches>
<!-- <Patch level="1">fix-translations.patch</Patch> --> <!-- <Patch level="1">fix-translations.patch</Patch> -->
</Patches> </Patches>
@@ -28,12 +28,20 @@
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="executable">/usr/bin</Path> <Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/kservices5</Path> <Path fileType="data">/usr/share/kio</Path>
<Path fileType="data">/usr/share/polkit-1</Path>
<Path fileType="doc">/usr/share/doc</Path> <Path fileType="doc">/usr/share/doc</Path>
</Files> </Files>
</Package> </Package>
<History> <History>
<Update release="6">
<Date>2025-12-28</Date>
<Version>1.2.0</Version>
<Comment>First release.</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="5"> <Update release="5">
<Date>2018-10-19</Date> <Date>2018-10-19</Date>
<Version>2.9.1</Version> <Version>2.9.1</Version>