25 lines
864 B
Bash
25 lines
864 B
Bash
# Template file for 'karchive'
|
|
pkgname=karchive
|
|
version=5.111.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="kcoreaddons extra-cmake-modules qt5-host-tools qt5-devel pkg-config"
|
|
makedepends="qt5-devel zlib-devel bzip2-devel liblzma-devel libzstd-devel qt5-tools-devel"
|
|
short_desc="Qt5 addon providing access to numerous types of archives"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.0-only, LGPL-2.0-or-later"
|
|
homepage="https://invent.kde.org/frameworks/karchive"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=e00e3d492882788e4289d62c6bde25e56178197de92f232a5850864ff6c2cd2d
|
|
|
|
karchive-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/qt5/mkspecs
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|