# Maintainer: bill-auger <bill-auger@programmer.net>


pkgname=parabola-laf
pkgver=0.9
pkgrel=1
pkgdesc="User skeleton, artwork, and utilities for Parabola graphical desktop systems"
arch=('any')
license=('GPL')
url=https://wiki.parabola.nu/Parabola-LAF

depends=()
makedepends=('git')

_git_tag="v${pkgver}"
_release="${pkgname}-${_git_tag}"
source=(https://git.parabola.nu/${pkgname}.git/snapshot/${_release}.tar.gz
        news)
sha256sums=('f1ca1a5d12095a51810502c92efe2942f1a0710e35589fc5cfc89212ebd97348'
            'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855')


package() {
  mkdir -p                                    ${pkgdir}/usr/share/backgrounds
  cp    -r  ${srcdir}/${_release}/backgrounds ${pkgdir}/usr/share/backgrounds/${pkgname}
  mkdir -p                                    ${pkgdir}/usr/share/pixmaps
  cp    -r  ${srcdir}/${_release}/banners     ${pkgdir}/usr/share/pixmaps/${pkgname}
  mkdir -p                                    ${pkgdir}/usr/bin
  cp    -rT ${srcdir}/${_release}/bin         ${pkgdir}/usr/bin
  mkdir -p                                    ${pkgdir}/boot/grub/themes
  cp    -r  ${srcdir}/${_release}/grub-theme  ${pkgdir}/boot/grub/themes/${pkgname}
  mkdir -p                                    ${pkgdir}/usr/share/icons
  cp    -r  ${srcdir}/${_release}/icons       ${pkgdir}/usr/share/icons/${pkgname}
  mkdir -p                                    ${pkgdir}/etc/skel
  cp    -rT ${srcdir}/${_release}/skel        ${pkgdir}/etc/skel

  mkdir -p          ${pkgdir}/usr/share/${pkgname}/news
  cp ${srcdir}/news ${pkgdir}/usr/share/${pkgname}/news/news-${pkgver}-${pkgrel}
}
