summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8d2df6f4c6c215ee90e0fa9aa7426370b8752e14 (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
# Maintainer: BadBoy <luckmelove2@gmail.com>

pkgname='dedsec-grub2-theme'
pkgver='1.0.0'
pkgrel='1'
pkgdesc='Beautiful dedsec grub2 themes'
arch=('any')
url='https://github.com/vandalsoul/dedsec-grub2-theme'
license=('GPL3')
install="${pkgname}".install

depends=('grub')

source=("git+${url}.git"
        "${pkgname}.install"
)
sha256sums=('SKIP'
            '36b026b2b42385bf13d27e29625698836fa623ec923f0262a47f5141619b1328'
)

package() {
    msg 'DedSec GRUB2 Theme'
    for ((a=0;a<${#Theme_name[@]};a++))
    do
        install -dm755 "${pkgdir}"/usr/share/grub/themes/"${pkgname}-${Theme_name[${a}]}"/icons

        install -Dm644 "${srcdir}/${pkgname}"/assets/backgrounds/"${Theme_name[${a}]}".png "${pkgdir}"/usr/share/grub/themes/"${pkgname}-${Theme_name[${a}]}"/background.png
        install -Dm644 "${srcdir}/${pkgname}"/dedsec/* "${pkgdir}"/usr/share/grub/themes/"${pkgname}-${Theme_name[${a}]}"
        install -Dm644 "${srcdir}/${pkgname}"/assets/icons/color/* "${pkgdir}"/usr/share/grub/themes/"${pkgname}-${Theme_name[${a}]}"/icons
    done
}

Theme_name=(
    'compact'
    'lovetrap'
    'stalker'
    'hype'
    'redskull'
    'mashup'
    'legion'
    'spam'
    'fuckery'
    'unite'
    'spyware'
    'reaper'
    'wrench'
    'strike'
    'brainwash'
    'wannacry'
    'firewall'
    'tremor'
)