desktop/kholidays/PKGBUILD

35 lines
719 B
Bash
Raw Normal View History

# Include global configuration
source ../kdeapps.conf
pkgname=kholidays
pkgver=${_kdever}
2017-07-15 17:07:23 +08:00
pkgrel=1
pkgdesc="KDE library for regional holiday information"
arch=('x86_64')
url="https://projects.kde.org/$pkgname"
license=(LGPL)
depends=(kdelibs4support)
2017-05-02 05:29:40 +08:00
makedepends=(extra-cmake-modules python3 kdoctools qt5-tools)
options=('debug')
source=("$_mirror/${pkgname}-$_kdever.tar.xz"{,.sig})
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1`
'SKIP')
validpgpkeys=(${Avalidpgpkeys})
prepare() {
mkdir -p build
cd $srcdir/$pkgname-$pkgver
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}