31 lines
1006 B
Bash
31 lines
1006 B
Bash
# Template file for 'liblxqt'
|
|
pkgname=liblxqt
|
|
version=0.11.1
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DPULL_TRANSLATIONS=0"
|
|
hostmakedepends="pkg-config qt5-host-tools kwindowsystem-devel"
|
|
makedepends="lxqt-build-tools kwindowsystem-devel libqtxdg-devel libXScrnSaver-devel"
|
|
short_desc="Core utility library for all LXQt components"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="LGPL-2.1"
|
|
homepage="http://lxqt.org/"
|
|
distfiles="https://github.com/lxde/liblxqt/releases/download/${version}/liblxqt-${version}.tar.xz"
|
|
checksum=487dc42ceb611f53024c531d5550bd0d4fe8cbfe3dbf3711faba5db6ee6d415d
|
|
|
|
post_configure() {
|
|
# Replace -isystem with -I to avoid "#include_next <stdlib.h>" file not found
|
|
find -name flags.make -exec sed -i "{}" -e "s;-isystem;-I;g" \;
|
|
}
|
|
|
|
liblxqt-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/*.so
|
|
vmove usr/share/cmake
|
|
}
|
|
}
|