aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5f9a0cf829aefd1bddbf5f78146f5a7ef3ede492 (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
# Maintainer: Thr0TT1e <info@noble24.ru>

_themename=russia
pkgname=plymouth-theme-$_themename
pkgver=1.0.1
pkgrel=1
pkgdesc="Russia coat of arms splash screen for plymouth"
arch=("any")
url=https://notabug.org/Thr0TT1e/russia-theme-plymouth
license=("LGPLv3")
depends=("plymouth")
install="plymouth-theme-$_themename.install"
makedepends=("git")
source=("git+$url.git")
sha512sums=('SKIP')

package(){
  cd "${srcdir}/russia-theme-plymouth"
  _themedir="${pkgdir}/usr/share/plymouth/themes/$_themename"

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