c1ae46e4ff
Plasma mobile compiles, but we didn't get it to run yet. Thanks to PureTryOut for all this amazing porting work! \o/
31 lines
810 B
Text
31 lines
810 B
Text
pkgname=kjs
|
|
pkgver=5.36.0
|
|
pkgrel=1
|
|
pkgdesc='Support for JS scripting in applications'
|
|
arch="all"
|
|
url='https://community.kde.org/Frameworks'
|
|
license="LGPL"
|
|
depends="qt5-qtbase"
|
|
makedepends="extra-cmake-modules kdoctools"
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/${pkgname}-${pkgver}.tar.xz"
|
|
subpackages="$pkgname-doc"
|
|
|
|
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="cccb2366f3080751c12a2e933460a9ddc2737033c7a6023069656bb6829932773be572ff21677dca2db7f4604aeb36b5a7bf6f8132575e6d78b74cced9e146ca kjs-5.36.0.tar.xz"
|