lxqt-admin: fix cross

This commit is contained in:
Jürgen Buchmüller 2017-01-07 13:56:43 +01:00
parent fb934991c9
commit a05d02081a

View file

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