summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 239372deec148b4c8e65bd85f726de2f31a723b3 (plain)
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
# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=plymouth-kcm-git
pkgver=5.26.90.r117.g622e920
pkgrel=1
pkgdesc='KCM to manage the Plymouth (Boot) theme'
arch=(x86_64)
url='https://invent.kde.org/plasma/plymouth-kcm'
license=(LGPL)
conflicts=(plymouth-kcm)
provides=(plymouth-kcm)
depends=(systemsettings plymouth)
makedepends=('cmake-git' 'extra-cmake-modules-git' 'kauth-git' 'karchive-git' 'knewstuff-git' 'kio-git' 'ki18n-git' 'kconfig-git' 'kcmutils-git')
groups=(kf6-git)
source=(${pkgname%-git}::git+${url}.git)
sha256sums=('SKIP')

pkgver() {
  cd ${pkgname%-git}
  git describe --long --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cmake -B build -S ${pkgname%-git} \
    -DBUILD_TESTING=OFF
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}