pkgname=kunitconversion pkgver=5.36.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 doxygen qt5-qttools-dev ki18n" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" subpackages="$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="10c7cf215cb0c02c22aaa1721e996103712adca770daa2d8da8ddd20c5c78ae3bb847f8e42079afce566d0a807b5aafa45cbb140e3d989ef8e5e6af63936291f kunitconversion-5.36.0.tar.xz"