summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d845c55584779368f9ae84dd9b99cd6d91cf7929 (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
# Maintainer: NAHO <90870942+trueNAHO@users.noreply.github.com>

_pkgname=grub2-theme-vimix-very-dark-blue
pkgname=grub-theme-vimix-very-dark-blue
pkgver=1.0.0.r129.ee7015a
pkgrel=1
pkgdesc="Simple, very dark blue GRUB theme"
arch=(any)
url="https://github.com/trueNAHO/$_pkgname"
license=(GPL3)
depends=(grep grub sudo)
makedepends=(git)
optdepends=(
    'efibootmgr: Linux user-space application to modify the EFI Boot Manager'
    'grub-customizer: GUI tool to configure GRUB'
    'os-prober: Utility to detect other OSes on a set of drives'
)
install="$pkgname.install"
source=("git+$url")
md5sums=(SKIP)

pkgver() {
    cd "$srcdir/$_pkgname" || return
    printf "1.0.0.r%s.%s" "$(git rev-list --count HEAD)" \
        "$(git rev-parse --short HEAD)"
}

package() {
    readonly PACKAGE_INSTALL_PATH="$pkgdir/usr/share/grub/themes/$pkgname"

    install --directory --mode 755 "$PACKAGE_INSTALL_PATH"

    cp \
        --no-preserve=ownership \
        --recursive \
        "$srcdir/$_pkgname/src/." \
        "$PACKAGE_INSTALL_PATH"
}