vp-build/srcpkgs/lxqt-admin/template
2017-01-07 14:36:27 +01:00

25 lines
802 B
Bash

# Template file for 'lxqt-admin'
pkgname=lxqt-admin
version=0.11.1
revision=1
build_style=cmake
configure_args="-DPULL_TRANSLATIONS=0"
hostmakedepends="qt5-host-tools qt5-devel liblxqt-devel"
makedepends="qt5-devel liblxqt-devel"
short_desc="LXQt system administration tool"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://lxqt.org/"
distfiles="https://github.com/lxde/lxqt-admin/releases/download/${version}/lxqt-admin-${version}.tar.xz"
checksum=b4b26df2901abf84742ff1daf17dbca6e145cf55552efbf424e6c77012b946cb
post_configure() {
find -name flags.make -exec sed -i "{}" -e"s;-isystem;-I;g" \;
}
post_install() {
# depends on systemd-{timedated,timesyncd}
rm -f ${DESTDIR}/usr/bin/lxqt-admin-time
rm -f ${DESTDIR}/usr/share/applications/lxqt-admin-time.desktop
}