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

pkgname=plasma5-theme-qogir-git
_gitname=Qogir-kde
pkgver=r105.1cfe8da
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' '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/layout-templates/
   cp -r ${srcdir}/${_gitname}/plasma/layout-templates ${pkgdir}/usr/share/plasma
   
   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
   
}