30 lines
843 B
Bash
30 lines
843 B
Bash
# Template file for 'libqt5xdg'
|
|
pkgname=libqt5xdg
|
|
version=3.12.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config lxqt-build-tools-qt5 qt5-host-tools qt5-qmake"
|
|
makedepends="qt5-svg-devel libglib-devel"
|
|
depends="libqtxdg>=4"
|
|
short_desc="Qt5 implementation of freedesktop.org XDG specifications"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://lxqt-project.org"
|
|
distfiles="https://github.com/lxqt/libqtxdg/archive/${version}.tar.gz"
|
|
checksum=084e5fe7b4087d95657be7b5be3668e98bf14c2ba3b150205ebd819508774d45
|
|
|
|
post_install() {
|
|
rm -rf "${DESTDIR}/etc"
|
|
}
|
|
|
|
libqt5xdg-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
|
|
}
|
|
}
|