mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
32 lines
893 B
Bash
32 lines
893 B
Bash
# Maintainer: abveritas@chakra-project.org
|
|
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
|
|
|
pkgname=ksysctl
|
|
pkgver=0.3.1
|
|
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=('85a30fbce0ca1b03ea28de7f047117ef'
|
|
'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
|
|
} |