27 lines
784 B
Bash
27 lines
784 B
Bash
# Template file for 'injeqt'
|
|
pkgname=injeqt
|
|
version=1.1.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config"
|
|
makedepends="qt5-devel"
|
|
short_desc="Dependency injection framework for Qt"
|
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
license="LGPL-2.1"
|
|
homepage="https://github.com/vogel/injeqt/"
|
|
distfiles="https://github.com/vogel/${pkgname}/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
|
checksum=a5e125ab3e8c9f7139fccbce22d772b01c4e1af074dea3bbb1ddb4379a42cb16
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-devel"
|
|
fi
|
|
|
|
injeqt-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|