summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 247125c616237b71071819ea288ee51bf8c2c6c9 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Maintainer: Librewish <librewish@gmail.com>


pkgbase=lxqt-kcm-integration-extra-git
_gitname=lxqt-kcm-integration-extra
pkgname=(
    'lxqt-kcm-integration-extra-git'
    )
pkgver=r4.8c6e687
pkgrel=1
arch=('any')
_branch='master'
url="https://github.com/librewish/lxqt-kcm-integration-extra"
license=('GPL')
makedepends=('git')
source=("git+$url.git#branch=${_branch}")
sha256sums=('SKIP')

_install() {
    if [[ -d $srcdir/$_gitname/$1/etc ]]; then
        install -d $pkgdir/etc
        cp -rf $srcdir/$_gitname/$1/etc $pkgdir
    fi

    if [[ -d $srcdir/$_gitname/$1/usr ]]; then
        install -d $pkgdir/etc
        cp -rf $srcdir/$_gitname/$1/usr $pkgdir
    fi
    
    if [[ -d $srcdir/$_gitname/$1/skel ]]; then
        install -d $pkgdir/etc
        cp -rf $srcdir/$_gitname/$1/skel $pkgdir/etc
    fi

}

pkgver() {
	cd "$srcdir/lxqt-kcm-integration-extra"

# Git, no tags available
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"

}

package_lxqt-kcm-integration-extra-git() {
    pkgdesc='extra kcm support for lxqt-kwin'
depends=("kde-cli-tools" "kglobalaccel" "kwin" "plasma-workspace")
optdepends=('bluedevil: needed for lxqt-kcm-bluetooth'
            'kde-gtk-config: needed for lxqt-kcm-appearance'
            'kinfocenter: needed for lxqt-kcm-systeminfo'
            'plasma-desktop: needed for lxqt-kcm-appearance colors and styles'
            'kcm-wacomtablet: wacom tablet kcm support'
            'print-manager: printing kcm support'
	    'plymouth-kcm: plymouth kcm support'
	    'sddm-kcm: sddm kcm support'
	    'kdeconnect: kdeconnect kcm support'
	    'plasma-thunderbolt: thunderbolt kcm support'
	    'plasma-firewall: ufw firewall kcm support'
	   )

    provides=('lxqt-kcm-integration-extra' 'lxqt-kcm-integration-git' 'lxqt-kcm-integration')

    _install ''
}