summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 81a1223c3419ad35b79cf9ffd16e5ed63bf97290 (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
# Maintainer: Rachit Kumar Pandey <rachitpandey@protonmail.com>

pkgname=plymouth-theme-arch-darwin
_themename=arch-darwin
pkgver=1.0
pkgrel=1
pkgdesc="Arch Linux splash screen for plymouth"
arch=("any")
url="https://github.com/armoredvortex/plymouth-theme-arch-darwin"
license=("MIT")
depends=("plymouth")
makedepends=("git")
source=("git+https://github.com/armoredvortex/plymouth-theme-arch-darwin.git")
md5sums=("SKIP")
package() {
  cd "${srcdir}/${pkgname}"
  _themedir="${pkgdir}/usr/share/plymouth/themes/$_themename"

  for N in "${_themename}.plymouth" assets/*.png "assets/${_themename}.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"

}