summaryrefslogtreecommitdiff
path: root/pcr-testing/parabola-laf/PKGBUILD
blob: 29ca7ad89cdebc5eecfac94854fe6035ab8f326c (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
39
40
41
# Maintainer: bill-auger <bill-auger@programmer.net>


pkgname=parabola-laf
pkgver=v0.6
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')

source=("git+https://git.parabola.nu/${pkgname}.git")
sha256sums=('SKIP')


pkgver() {
  cd "${pkgname}"
  git tag | sort | tail -n1
}

package() {
  cd "${pkgname}"
  git checkout ${pkgver}

  mkdir -p $pkgdir/usr/share/backgrounds
  mkdir -p $pkgdir/usr/share/pixmaps
  mkdir -p $pkgdir/usr/bin
  mkdir -p $pkgdir/boot/grub/themes
  mkdir -p $pkgdir/usr/share/icons
  mkdir -p $pkgdir/etc/skel

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