summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: eb54dccfc3d27ba135767b5d3a1b4fc46e382d7c (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
# Maintainer: Jan Neumann <neum DOT ja AT gmail DOT com>

pkgname=qogir-kde-theme-git
_gitname=Qogir-kde
pkgver=r48.17ff307
pkgrel=1
pkgdesc="Qogir kde is a flat Design theme for KDE Plasma desktop"
arch=('any')
url="https://github.com/vinceliuice/Qogir-kde"
license=('GPL3')
depends=('plasma-desktop')
optdepends=('kvantum-qt5' 'qogir-gtk-theme-git' 'qogir-icon-theme-git' 'sddm') 
makedepends=('git')
source=("git+${url}.git")
sha256sums=('SKIP')

pkgver() {
   cd ${_gitname}
    
   printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"

}

package() {
   mkdir -p ${pkgdir}/usr/share/aurorae
   cp -r  ${srcdir}/${_gitname}/aurorae/themes/ ${pkgdir}/usr/share/aurorae
   
   mkdir -p ${pkgdir}/usr/share/color-schemes
   cp -r ${srcdir}/${_gitname}/color-schemes ${pkgdir}/usr/share
   
   mkdir -p ${pkgdir}/usr/share/plasma/desktoptheme/
   cp -r ${srcdir}/${_gitname}/plasma/desktoptheme ${pkgdir}/usr/share/plasma

   mkdir -p ${pkgdir}/usr/share/plasma/look-and-feel/
   cp -r ${srcdir}/${_gitname}/plasma/look-and-feel/ ${pkgdir}/usr/share/plasma
    
   mkdir -p ${pkgdir}/usr/share/sddm/themes/Qogir
   cp -r ${srcdir}/${_gitname}/sddm/Qogir ${pkgdir}/usr/share/sddm/themes
   
   mkdir -p ${pkgdir}/usr/share/Kvantum/
   cp -r ${srcdir}/${_gitname}/Kvantum ${pkgdir}/usr/share
   
   mkdir -p ${pkgdir}/usr/share/wallpapers
   rm -r ${srcdir}/${_gitname}/wallpaper/src
   cp -r ${srcdir}/${_gitname}/wallpaper/* ${pkgdir}/usr/share/wallpapers
   
}