summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ac122a4f907952c7f51e5a3fafa74cf361ac7e60 (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
32
33
34
35
36
37
38
39
40
41
# Maintainer: User8395 <therealuser8395@proton.me>
pkgname=plasma-settings-git
pkgver=25.12.0.r11.gccef83e
pkgrel=1
pkgdesc="Settings application for Plasma Mobile"
arch=('any')
url="https://www.plasma-mobile.org/"
license=('GPL2')
groups=()
depends=('kio' 
	'ki18n' 
	'plasma-workspace'
	'kdeclarative' 
	'kcmutils' 
	'knotifications'
	'kwindowsystem'
	)

makedepends=('cmake' 'extra-cmake-modules') 
conflicts=('plasma-settings')
source=('git+https://invent.kde.org/plasma-mobile/plasma-settings.git')
noextract=()
sha256sums=('SKIP')

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

build() {
	cd "$srcdir/plasma-settings"
	cmake -B build \
	      -DCMAKE_INSTALL_PREFIX="/usr" 

	cmake --build build
}

package() {
	cd "$srcdir/plasma-settings/build"
	make DESTDIR="$pkgdir/" install
}