This commit is contained in:
Anke 2013-03-09 22:21:18 +00:00
parent 75d422d56c
commit 2fae057772
2 changed files with 48 additions and 0 deletions

32
ksysctl/PKGBUILD Normal file
View 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
View 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;