mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
adding ksysctl, fork from http://kde-apps.org/content/show.php/KSysCtl?content=148648
This commit is contained in:
parent
75d422d56c
commit
2fae057772
32
ksysctl/PKGBUILD
Normal file
32
ksysctl/PKGBUILD
Normal file
@ -0,0 +1,32 @@
|
||||
# Maintainer: abveritas@chakra-project.org
|
||||
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
||||
|
||||
pkgname=ksysctl
|
||||
pkgver=0.3
|
||||
pkgrel=1
|
||||
pkgdesc="A front end for the systemctl program"
|
||||
arch=('x86_64')
|
||||
url="http://kde-apps.org/content/show.php/KSysCtl?content=148648"
|
||||
license=('GPL')
|
||||
depends=('qt' 'systemd')
|
||||
source=("${pkgname}.tar.xz"
|
||||
'ksysctl.desktop')
|
||||
md5sums=('168dfaca1cea7ef074892c8980a0f18d'
|
||||
'd02d2ca4ebade0207714cce729a514f9')
|
||||
|
||||
build() {
|
||||
cd ksysctl
|
||||
qmake
|
||||
make
|
||||
lrelease ksysctl.pro
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ksysctl
|
||||
install -d "${pkgdir}"/usr/share/ksysctl
|
||||
install -m644 translations/ksysctl_{de_DE,en_GB,en_US}.qm "${pkgdir}"/usr/share/ksysctl/
|
||||
install -Dm644 icons/ksysctl.png "${pkgdir}"/usr/share/pixmaps/ksysctl.png
|
||||
install -Dm755 ksysctl "${pkgdir}"/usr/bin/ksysctl
|
||||
|
||||
install -Dm644 "${srcdir}"/ksysctl.desktop "${pkgdir}"/usr/share/applications/ksysctl.desktop
|
||||
}
|
16
ksysctl/ksysctl.desktop
Normal file
16
ksysctl/ksysctl.desktop
Normal file
@ -0,0 +1,16 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=ksysctl
|
||||
Name[de]=ksysctl
|
||||
Name[en]=ksysctl
|
||||
GenericName=ksysctl
|
||||
GenericName[de]=ksysctl
|
||||
GenericName[en]=ksysctl
|
||||
Comment=A control program (gui) for the new system contol.
|
||||
Comment[de]=Ein Kontroll Programm (GUI) fuer das neue System Control
|
||||
Exec=kdesu ksysctl
|
||||
Icon=ksysctl
|
||||
Terminal=false
|
||||
Type=Application
|
||||
StartupNotify=true
|
||||
Categories=System;Tools;
|
Loading…
Reference in New Issue
Block a user