blob: cbc1b3b6e0c2fa186a0c3f5485368a60599a7440 (
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
|
# Maintainer: Rafael Silva <silvagracarafael@gmail.com>
_pkgbase=moe-theme
pkgbase="${_pkgbase}-git"
pkgname=(plasma5-themes-moe-git kvantum-theme-moe-git)
pkgver=r41.0eae9f1
pkgrel=1
pkgdesc='A light theme, with blur transparencies and red tones with gradients.'
arch=('any')
url="https://gitlab.com/jomada/${_pkgbase}"
license=('GPL3')
makedepends=('git')
options=(!strip)
source=("${_pkgbase}::git+https://gitlab.com/jomada/${_pkgbase}")
sha256sums=('SKIP')
pkgver() {
cd "${_pkgbase}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package_plasma5-themes-moe-git() {
optdepends=('kvantum-theme-moe-git: Moe theme for Kvantum (recommended)')
cd "${_pkgbase}"
install -d "${pkgdir}/usr/share/plasma/desktoptheme" \
"${pkgdir}/usr/share/plasma/look-and-feel" \
"${pkgdir}/usr/share/aurorae/themes" \
"${pkgdir}/usr/share/color-schemes" \
"${pkgdir}/usr/share/konsole"
cp -dr --no-preserve=ownership Moe{,Dark} "${pkgdir}"/usr/share/plasma/desktoptheme
cp -dr --no-preserve=ownership Moe-Global/* "${pkgdir}"/usr/share/plasma/look-and-feel
cp -dr --no-preserve=ownership {,MoeDark-}aurorae/* "${pkgdir}"/usr/share/aurorae/themes
cp -dr --no-preserve=ownership {,Moe-Dark-}color-schemes/* "${pkgdir}"/usr/share/color-schemes
cp -dr --no-preserve=ownership {,Moe-Dark-}konsole/* "${pkgdir}"/usr/share/konsole
}
package_kvantum-theme-moe-git() {
depends=(kvantum)
cd "${_pkgbase}"
install -d "${pkgdir}/usr/share/Kvantum"
cp -dr --no-preserve=ownership {,Moe-Dark-}kvantum/* "${pkgdir}"/usr/share/Kvantum
}
|