051a33e2e9
Fix #377
36 lines
1.1 KiB
Text
36 lines
1.1 KiB
Text
pkgname=kxmlgui
|
|
pkgver=5.37.0
|
|
pkgrel=1
|
|
pkgdesc='User configurable main windows'
|
|
arch="all"
|
|
url='https://community.kde.org/Frameworks'
|
|
license="LGPL"
|
|
depends="kglobalaccel ktextwidgets"
|
|
makedepends="extra-cmake-modules python mesa-dev doxygen qt5-qttools-dev ktextwidgets-dev
|
|
kglobalaccel-dev attica-qt5-dev kcoreaddons-dev kitemviews-dev kconfig-dev
|
|
kconfigwidgets-dev kauth-dev kcodecs-dev kwidgetsaddons-dev ki18n-dev kiconthemes-dev
|
|
sonnet-dev kwindowsystem-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 \
|
|
-DKDE_INSTALL_LIBEXECDIR=lib \
|
|
-DBUILD_TESTING=OFF \
|
|
-DBUILD_QCH=ON
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
sha512sums="71eff51eb697674e7e9554a8912fda0fe2068cd6beea05ab5bd6f44b2b5ff87f07b8443daad6732cb8d268128cb3fdb8614939ae469d1d7cec7948d62c414f53 kxmlgui-5.37.0.tar.xz"
|