summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b6e3e6d895cd8124524f71d47580bc98d7012edf (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
# Maintainer: David Rosenstrauch <darose@darose.net>
pkgname=refind-theme-metro-git
pkgver=r47.40986b2
pkgrel=2
pkgdesc="A rEFInd theme based of Burg Metro"
arch=('any')
url="https://github.com/JohnTrentonCary/rEFInd-Metro"
license=('none')
depends=('refind')
makedepends=('git')
source=('git+https://github.com/JohnTrentonCary/rEFInd-Metro.git')
md5sums=('SKIP')

pkgver() {
    cd "$srcdir/rEFInd-Metro"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    REFIND_HOME="${pkgdir}/boot/EFI/refind"

    mkdir -p "${REFIND_HOME}/themes/rEFInd-Metro"
    cp -r ${srcdir}/rEFInd-Metro/* "${REFIND_HOME}/themes/rEFInd-Metro/"
    chmod -R 644 "${REFIND_HOME}/themes/rEFInd-Metro"

    echo 'Remember to add "include themes/rEFInd-Metro/theme.conf" to your refind.conf file'
}