pmaports/kde/ki18n/APKBUILD

35 lines
986 B
Text
Raw Normal View History

pkgname=ki18n
pkgver=5.36.0
pkgrel=1
pkgdesc='Advanced internationalization framework'
arch="all"
url='https://community.kde.org/Frameworks'
license="LGPL"
depends=""
makedepends="extra-cmake-modules python qt5-qtdeclarative-dev py3-qt5 clang doxygen qt5-qttools-dev qt5-qtscript-dev"
optdepends="python-pykf5: to use the Python 3 bindings
python2-pykf5: to use the Python 2 bindings"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${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 \
-DBUILD_QCH=ON
make
}
package() {
cd $srcdir/build
make DESTDIR="${pkgdir}" install
}
sha512sums="b2de34a5320d76a565e29a4f6649520351c14bbb19ff1baea1a5ca38c4d791735d4bdd2a0baf90692aba3d34b8b7c8e8518c300c619e0cc7d26765795a78bc0f ki18n-5.36.0.tar.xz"