mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-14 01:19:03 +08:00
40 lines
1009 B
Bash
40 lines
1009 B
Bash
# Include global configuration
|
|
source ../kdeapps.conf
|
|
|
|
pkgname=kholidays
|
|
pkgver=${_kdever}
|
|
pkgrel=2
|
|
pkgdesc="KDE library for regional holiday information"
|
|
arch=('x86_64')
|
|
url="https://projects.kde.org/$pkgname"
|
|
license=(LGPL)
|
|
depends=(kdelibs4support)
|
|
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})
|
|
|
|
source+=(kdebug-xxxxx.patch::'https://cgit.kde.org/kholidays.git/patch/?id=f0faec0f2bdbec4b742600a9643ebc11ff9df4cd')
|
|
sha256sums+=('2a813362b95e118079af8cf3088f60d88d4fca393fbdd3a5c844dd1d30c9091e')
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
|
|
cd $srcdir/$pkgname-$pkgver
|
|
# Revert "Update Turkish Holiday File (EN and TR)"
|
|
patch -p1 -i ../kdebug-xxxxx.patch
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR=${pkgdir} install
|
|
}
|