# Maintainer: bill-auger <bill-auger@programmer.net>
# Contributor: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697


pkgname=grub2-theme-gnuaxiom
pkgver=1.5
pkgrel=1
pkgdesc="A Parabola GNU/Linux-libre boot theme for GRUB2, forked from Axiom"
arch=('any')
url=https://wiki.parabola.nu/Parabola-LAF
license=('GPL3')

depends=('grub')
makedepends=('git')

_git_tag=v${pkgver}-${pkgrel%%.*}
source=(git+https://git.parabola.nu/artwork.git#branch=official/2018 \
        $pkgname.install                                             )
install=$pkgname.install
sha256sums=('SKIP'                                                            \
            'b369706942d3182855df516893c9ad17e38b96140de38ee5b7b0e52c96e83fe1')


package()
{
  cd $srcdir/artwork/boot-themes/gnuaxiom-parabola/

  for ea in icons/*.png *.png *.pf2 theme.txt
  do  install -D -m644 $ea ${pkgdir}/boot/grub/themes/GNUAxiom/$ea
  done

  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}
}
