/
PKGBUILD
31 lines (26 loc) · 938 Bytes
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kasts
pkgver=${_kdever}
pkgrel=2
arch=('x86_64')
pkgdesc="Kirigami-based podcast player"
url="https://invent.kde.org/multimedia/kasts"
license=('GPL2')
depends=('qt6-multimedia' 'qt6-declarative' 'qt6-svg' 'kirigami-addons6' 'kcoreaddons6'
'syndication6' 'kconfig6' 'ki18n6' 'qtkeychain-qt6' 'threadweaver6' 'taglib')
makedepends=('extra-cmake-modules' 'qt6-tools')
source=("https://download.kde.org/stable/applications/${_kdever}/src/${pkgname}-${_kdever}.tar.xz")
md5sums=(`grep ${pkgname}-${_kdever}.tar.xz ../kde-sc.md5 | cut -d" " -f1`)
build() {
cmake -B build -S ${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DKDE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF \
-DQT_MAJOR_VERSION=6
cmake --build build
}
package() {
DESTDIR=${pkgdir} cmake --install build
}