summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4e80c023be1f2abf291755a69bfe3a5f5f94b205 (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
PACKAGER="Laurent Brock <incognito0135@protonmail.com>"

pkgname=plasma-active-accent-decorations
pkgver=9.2
pkgrel=1
pkgdesc="Window styles for KDE Plasma highlighting the active window in the color scheme's accent color"
url='https://github.com/nclarius/Plasma-window-decorations'
license=('GPL3')
arch=('any')
source=("$pkgname-$pkgver.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('e85f95832c988154a065daba6289fe5197f32aee5eaeec1726cb251fdea2f61f')
sha512sums=('eb426f896171d53ffa70470139b6ae132ab6932d8646887e62315dcbe6ba22ed66d2feec11d78bb84ba75cd0178ab542285960349615f8bc4faca27f24ac8b0a')
conflicts=('plasma-active-accent-frame-decorations')

# prepare() {
#   cd "${srcdir}"
#   tar -xf "Plasma-window-decorations-${pkgver}.tar.gz"
# }

package() {
  cd ${srcdir}/Plasma-window-decorations-${pkgver}/ActiveAccentFrame
  install -Dm755 --directory ActiveAccentFrame "$pkgdir/usr/share/aurorae/themes/ActiveAccentFrame"
  install -Dm644 ActiveAccentFramerc "$pkgdir"/usr/share/aurorae/themes/ActiveAccentFrame/ActiveAccentFramerc
  install -Dm644 decoration.svg "$pkgdir"/usr/share/aurorae/themes/ActiveAccentFrame/decoration.svg
  install -Dm644 metadata.desktop "$pkgdir"/usr/share/aurorae/themes/ActiveAccentFrame/metadata.desktop

  cd ${srcdir}/Plasma-window-decorations-${pkgver}/ActiveAccentDawn
  install -Dm755 --directory ActiveAccentDawn "$pkgdir/usr/share/aurorae/themes/ActiveAccentDawn"
  install -Dm644 ActiveAccentDawnrc "$pkgdir"/usr/share/aurorae/themes/ActiveAccentDawn/ActiveAccentDawnrc
  install -Dm644 decoration.svg "$pkgdir"/usr/share/aurorae/themes/ActiveAccentDawn/decoration.svg
  install -Dm644 metadata.desktop "$pkgdir"/usr/share/aurorae/themes/ActiveAccentDawn/metadata.desktop

  cd ${srcdir}/Plasma-window-decorations-${pkgver}/ActiveAccentDusk
  install -Dm755 --directory ActiveAccentDusk "$pkgdir/usr/share/aurorae/themes/ActiveAccentDusk"
  install -Dm644 ActiveAccentDuskrc "$pkgdir"/usr/share/aurorae/themes/ActiveAccentDusk/ActiveAccentDuskrc
  install -Dm644 decoration.svg "$pkgdir"/usr/share/aurorae/themes/ActiveAccentDusk/decoration.svg
  install -Dm644 metadata.desktop "$pkgdir"/usr/share/aurorae/themes/ActiveAccentDusk/metadata.desktop

  cd ${srcdir}/Plasma-window-decorations-${pkgver}/ActiveAccentDark
  install -Dm755 --directory ActiveAccentDark "$pkgdir/usr/share/aurorae/themes/ActiveAccentDark"
  install -Dm644 ActiveAccentDarkrc "$pkgdir"/usr/share/aurorae/themes/ActiveAccentDark/ActiveAccentDarkrc
  install -Dm644 decoration.svg "$pkgdir"/usr/share/aurorae/themes/ActiveAccentDark/decoration.svg
  install -Dm644 metadata.desktop "$pkgdir"/usr/share/aurorae/themes/ActiveAccentDark/metadata.desktop

  cd ${srcdir}/Plasma-window-decorations-${pkgver}/ActiveAccentLight
  install -Dm755 --directory ActiveAccentLight "$pkgdir/usr/share/aurorae/themes/ActiveAccentLight"
  install -Dm644 ActiveAccentLightrc "$pkgdir"/usr/share/aurorae/themes/ActiveAccentLight/ActiveAccentLightrc
  install -Dm644 decoration.svg "$pkgdir"/usr/share/aurorae/themes/ActiveAccentLight/decoration.svg
  install -Dm644 metadata.desktop "$pkgdir"/usr/share/aurorae/themes/ActiveAccentLight/metadata.desktop

  
  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
}