pmaports/kde/kjsembed/APKBUILD
Oliver Smith c1ae46e4ff Package Plasma Mobile (All credit to PureTryOut!) (#284)
Plasma mobile compiles, but we didn't get it to run yet.
Thanks to PureTryOut for all this amazing porting work! \o/
2017-08-03 20:14:04 +00:00

31 lines
855 B
Text

pkgname=kjsembed
pkgver=5.36.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 python qt5-qtsvg-dev kjs"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/${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
make
}
package() {
cd $srcdir/build
make DESTDIR="${pkgdir}" install
}
sha512sums="b6184303c99d1f3935f1645fd8db839b09d92868b348d0bdf0f6a54116a0e3a5da96b55c74ec415f755f6f71f1cee7deaf1750ba6f41ba87ca7e02bde276e7b1 kjsembed-5.36.0.tar.xz"