pmaports/kde/kunitconversion/APKBUILD

33 lines
882 B
Text

pkgname=kunitconversion
pkgver=5.37.0
pkgrel=1
pkgdesc='Support for unit conversion'
arch="all"
url='https://community.kde.org/Frameworks'
license="LGPL"
depends="ki18n"
makedepends="extra-cmake-modules python qt5-qttools-dev ki18n-dev doxygen"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
prepare() {
mkdir -p $srcdir/build
}
build() {
cd $srcdir/build
cmake "$srcdir"/${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF \
-DBUILD_QCH=ON
make
}
package() {
cd $srcdir/build
make DESTDIR="${pkgdir}" install
}
sha512sums="50a4c6efca7d8f218756b9b15f2655bc56fa320178d11291bd3bc4be84ba625a6e8dfa9f2e6320c0c6e8b9f80e80b1125b2e0d1d8e0c86b3e0a1fb9521a4ca5e kunitconversion-5.37.0.tar.xz"