pmaports/kde/kjsembed/APKBUILD

31 lines
876 B
Text

pkgname=kjsembed
pkgver=5.37.0
pkgrel=1
pkgdesc='Embedded JS'
arch="all"
url='https://community.kde.org/Frameworks'
license="LGPL"
depends="qt5-qtsvg ki18n kjs"
makedepends="extra-cmake-modules qt5-qttools-dev kdoctools-dev python qt5-qtsvg-dev kjs-dev"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/${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
make
}
package() {
cd $srcdir/build
make DESTDIR="${pkgdir}" install
}
sha512sums="b2a46546a2a06e912634159c6c37a0a7fb617efbef592c94afa7d6c30b116cfdd8d419d42012bc7890a5f846ff3c4dee113687cb7877fbbb0aa599d3cfedba8b kjsembed-5.37.0.tar.xz"