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

33 lines
997 B
Text

pkgname=kbookmarks
pkgver=5.37.0
pkgrel=1
pkgdesc='Support for bookmarks and the XBEL format'
arch="all"
url='https://community.kde.org/Frameworks'
license="LGPL"
depends="kxmlgui"
makedepends="extra-cmake-modules qt5-qttools-dev python doxygen kcodecs-dev kconfig-dev kconfigwidgets-dev
kiconthemes-dev kxmlgui-dev kcoreaddons-dev kauth-dev kwidgetsaddons-dev"
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="cac12f6936c680f9018a162fa9b7bc2f7591fec6ae2c955473fe391941736ff21a60a24dd8d741681743dc864746081548c5311f4ba5f7a308154e573af28b67 kbookmarks-5.37.0.tar.xz"