lxqt-sudo

This commit is contained in:
2018-04-26 01:22:49 +03:00
parent ed87a9443f
commit 4d8294aec9
3 changed files with 81 additions and 0 deletions
+25
View File
@@ -0,0 +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
from pisi.actionsapi import cmaketools
from pisi.actionsapi import get
from pisi.actionsapi import shelltools
def setup():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_BUILD_TYPE=release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DPULL_TRANSLATIONS=no \
-DCMAKE_INSTALL_LIBDIR=/usr/lib", sourceDir="..")
def build():
shelltools.cd("build")
cmaketools.make()
def install():
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
+50
View File
@@ -0,0 +1,50 @@
<PISI>
<Source>
<Name>lxqt-sudo</Name>
<Homepage>http://lxqt.org/</Homepage>
<Packager>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>app:gui</IsA>
<Icon>lxqt</Icon>
<Summary>Python binding of terminal widget for Qt</Summary>
<Description>LXQt privilege program (lxsu).</Description>
<Archive sha1sum="d257161fd47a4ab21340c0aa083c5381da9c6384" type="tarxz">https://github.com/lxde/lxqt-sudo/releases/download/0.12.0/lxqt-sudo-0.12.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>kwindowsystem-devel</Dependency>
<Dependency versionFrom="0.12.0">liblxqt-devel</Dependency>
<Dependency>libqtxdg-devel</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-linguist</Dependency>
<Dependency versionFrom="0.4.0">lxqt-build-tools</Dependency>
</BuildDependencies>
<Icon>lxqt-sudo</Icon>
</Source>
<Package>
<Name>lxqt-sudo</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
<Dependency>liblxqt</Dependency>
<Dependency>qt5-base</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2018-04-23</Date>
<Version>0.12.0</Version>
<Comment>First release</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
</History>
</PISI>
+6
View File
@@ -0,0 +1,6 @@
<PISI>
<Source>
<Name>lxqt-sudo</Name>
<Summary xml:lang="tr">Lxqt yetkili kullanıcı aracı</Summary>
</Source>
</PISI>