core/kwidgetsaddons/PKGBUILD
AlmAck ae0046ec8a remove _url and incorporate everything in the pkg.
the kdeupdate script is able to update the sha256sums automatically
2018-06-11 23:22:38 +02:00

41 lines
1.2 KiB
Bash

# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kwidgetsaddons
pkgname=kwidgetsaddons
pkgver=5.47.0
pkgrel=1
pkgdesc='Higher level user interface elements for common tasks'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/kwidgetsaddons'
license=('LGPL')
depends=("qt5-base")
makedepends=("extra-cmake-modules>=${KFECMVersion}" 'qt5-tools' 'clang' 'python2-pyqt5' 'python3-pyqt5' 'doxygen')
groups=('kf5')
options=("debug")
source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
sha256sums=('5aa6f4002e6f1302f272b3839513debefafd51b7f3a9249f6ef2c5f30cec5a34'
SKIP)
validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DKDE_INSTALL_SYSCONFDIR=/etc \
-DKDE_INSTALL_LIBEXECDIR=lib \
-DBUILD_TESTING=OFF \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_QCH=ON ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}