a92d370caa
Generated with: git ls-files 'srcpkgs/**/patches/*' | cut -d/ -f2 | uniq | xargs printf 'srcpkgs/%s/template\n' | xargs grep -L 'patch_args=' | xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
31 lines
884 B
Bash
31 lines
884 B
Bash
# Template file for 'kdb'
|
|
pkgname=kdb
|
|
version=3.2.0
|
|
revision=5
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules doxygen pkg-config kcoreaddons"
|
|
makedepends="kcoreaddons-devel postgresql-libs-devel libmariadbclient-devel
|
|
sqlite-devel"
|
|
short_desc="Database connectivity and creation framework"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.0-or-later"
|
|
homepage="http://www.kexi-project.org/"
|
|
distfiles="${KDE_SITE}/kdb/src/kdb-${version}.tar.xz"
|
|
checksum=8f8983bc8d143832dc14bc2003ba6af1af27688e477c0c791fd61445464f2069
|
|
patch_args=-Np0
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-qmake qt5-host-tools python3"
|
|
fi
|
|
|
|
kdb-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/qt5/mkspecs
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|