archrelease: copy trunk to community-any
[ArchLinux/community.git] / kdesrc-build / repos / community-any / PKGBUILD
blob7255cbaa5c36514faa24e5ea5e0c0ae87d8c71a1
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: Ben Isenhart <bisenhar(at)uvm(dot)edu>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 pkgname=kdesrc-build
6 pkgver=22.07
7 pkgrel=1
8 pkgdesc='Script to streamline setting up and maintaining KDE software development environment'
9 url='https://apps.kde.org/kdesrc_build/'
10 arch=(any)
11 license=(GPL)
12 depends=(perl-libwww perl-xml-parser dialog perl-json perl-io-socket-ssl perl-net-ssleay perl-yaml-syck)
13 makedepends=(cmake)
14 optdepends=('subversion: download source code using svn'
15             'git: download source code using git')
16 source=(https://invent.kde.org/sdk/kdesrc-build/-/archive/v$pkgver/kdesrc-build-v$pkgver.tar.gz)
17 sha256sums=('1a27a89df41bf6dea40b8cd6171e3a74de587f68db08a199a5e2046c98b04b66')
19 build() {
20   cmake -B build -S $pkgname-v$pkgver \
21     -DCMAKE_INSTALL_PREFIX=/usr
22   cmake --build build
25 package() {
26   DESTDIR="$pkgdir" cmake --install build