desktop/ksysctl/PKGBUILD

32 lines
891 B
Bash

# 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
}