summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a551868db78f12201a1fc68bffa6428d8acb992a (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-tux-git
pkgver=r85.e6c9f05
pkgrel=2
pkgdesc="Ubuntu is nice but it needs a little Tux. Here he is, the man himself in the boot loader as a rEFInd theme."
arch=('any')
url="https://github.com/pradyumnasagar/tux4ubuntu/tree/master/tux-refind-theme"
license=('none')
depends=('refind')
makedepends=('git')
source=('git+https://github.com/pradyumnasagar/tux4ubuntu.git')
md5sums=('SKIP')

pkgver() {
    cd "$srcdir/tux4ubuntu"
    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"
    cp -r "${srcdir}/tux4ubuntu/tux-refind-theme" "${REFIND_HOME}/themes/"
    chmod -R 644 "${REFIND_HOME}/themes/tux-refind-theme"

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