pmaports/kde/kpty/APKBUILD
PureTryOut 689b8e4fec Added all missing makedepends, and removed some optional dependencies (#398)
* Added all missing makedepends, and removed some optional dependencies
* Made dbus-nox11-libs properly replace dbus-x11
* Add missing breeze-dev subpackage
2017-08-17 16:19:36 +00:00

32 lines
875 B
Text

pkgname=kpty
pkgver=5.37.0
pkgrel=1
pkgdesc='Pty abstraction'
arch="all"
url='https://community.kde.org/Frameworks'
license="LGPL"
depends="kcoreaddons ki18n"
makedepends="extra-cmake-modules python qt5-qttools-dev kcoreaddons-dev ki18n-dev doxygen"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${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 \
-DBUILD_QCH=ON
make
}
package() {
cd $srcdir/build
make DESTDIR="${pkgdir}" install
}
sha512sums="8bf1d12aafb319f952c7001fd59921d15cf248f0d09daa5b00990441a1959d873e1ce6aadb0cb175637290777381f6a4b8326637fbaae46db4030210072a1ec8 kpty-5.37.0.tar.xz"