summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 742118aa48676dbceb93a71e7c637443d25819ab (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
# Maintainer: Jiri Tyr <jiri.tyr@gmail.com>

_pkgname=plymouth-theme-arch-breeze
pkgname="${_pkgname}-git"
pkgver=r3.d7ae74d
pkgrel=1
pkgdesc='Plymouth theme for Arch Linux inspired by KDE Breeze.'
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h')
url="https://github.com/jtyr/${_pkgname}/"
license=('MIT')
install="${pkgname}.install"
depends=('plymouth')
makedepends=('git')
source=("git+https://github.com/jtyr/$_pkgname.git")
sha256sums=('SKIP')

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

package() {
  cd "$_pkgname"

  _themedir="$pkgdir/usr/share/plymouth/themes/arch-breeze"

  for N in *.png arch-breeze.plymouth script; do
    install -Dm644 $N "${_themedir}/$N"
  done

  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
}

# vim:set ts=2 sw=2 et: