summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 919502a7d951cbae21f61e44c5a6d3266c04aa6b (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
# Maintainer: stefanwimmer128 <info@stefanwimmer128.xyz>

_pkgname=kf6-servicemenus-rootactions
pkgname=$_pkgname-git
pkgver=1.0.0.r3.gc456a68
pkgrel=1
pkgdesc='Allows admin users to perform several root only actions from dolphin via polkit agent.'
arch=(any)
url='https://gitlab.com/stefanwimmer128/kf6-servicemenus-rootactions'
license=(GPL-2.0-or-later)
depends=(dolphin kdialog perl polkit)
makedepends=(git)
optdepends=(kate)
provides=($_pkgname)
conflicts=($_pkgname)
source=("$_pkgname::git+https://gitlab.com/stefanwimmer128/kf6-servicemenus-rootactions.git")
sha256sums=(SKIP)

pkgver() {
    cd "$_pkgname"
    git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
    cd "$_pkgname"

    make DESTDIR="$pkgdir" install
}