30 lines
897 B
Bash
30 lines
897 B
Bash
# Template file for 'ksanecore'
|
|
pkgname=ksanecore
|
|
version=24.08.1
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules gettext qt5-qmake qt5-host-tools"
|
|
makedepends="qt5-devel sane-devel ki18n-devel"
|
|
depends="ksanecore6"
|
|
short_desc="Library providing logic to interface scanners"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://kde.org/applications/graphics"
|
|
changelog="https://kde.org/announcements/changelogs/gear/${version}/#ksanecore"
|
|
distfiles="${KDE_SITE}/release-service/${version}/src/ksanecore-${version}.tar.xz"
|
|
checksum=a9eee4f76e429a7cdb868c90155ad9b1ac013405d8569ecfa5715c212bcdfd4a
|
|
|
|
post_install() {
|
|
rm -rf "${DESTDIR}/usr/share"
|
|
}
|
|
|
|
ksanecore-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/cmake
|
|
}
|
|
}
|