pmaports/kde/kpty/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

33 lines
850 B
Text

pkgname=kpty
pkgver=5.36.0
pkgrel=1
pkgdesc='Pty abstraction'
arch="all"
url='https://community.kde.org/Frameworks'
license="LGPL"
depends="kcoreaddons ki18n"
# libutempter
makedepends="extra-cmake-modules python doxygen qt5-qttools-dev"
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="5ca846279c20cc0654b7dd7aba2b1b9fbcb3c04d31c4e274a62f74c52cdf7f877acd89dd92120baea34c9dc60c76aad8af3163b70e4cb16577ba815142ca985f kpty-5.36.0.tar.xz"