summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: de592b2ee13f1eb8377809abafce88b2d036ccf5 (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
# Maintainer: Andrey Alekseev <andrey.android7890@gmail.com>

pkgname=('bootsplash-theme-manjaro-space-purple-git')
pkgver=1.0.r13.g1c6189d
pkgrel=1
arch=('x86_64')
pkgdesc="Beautiful Manjaro Bootsplash with space animation"
url="https://github.com/ANDRoid7890/bootsplash-theme-manjaro-space-purple"
license=('GPL')
depends=()
optdepends=('bootsplash-systemd: for bootsplash functionality')
makedepends=('imagemagick' 'git')
source=('git+https://github.com/ANDRoid7890/bootsplash-theme-manjaro-space-purple.git')
sha256sums=('SKIP')

pkgver() {
  cd "bootsplash-theme-manjaro-space-purple"
  git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
} 

build() {
  cd "$srcdir"/"bootsplash-theme-manjaro-space-purple"
  sh ./bootsplash-manjaro-space.sh
}

package() {
  pkgdesc="Beautiful Manjaro Bootsplash with space animation"
  cd "$srcdir"

  install -Dm644 "$srcdir/bootsplash-theme-manjaro-space-purple/bootsplash-manjaro-space-purple" "$pkgdir/usr/lib/firmware/bootsplash-themes/manjaro-space-purple/bootsplash"
  install -Dm644 "$srcdir/bootsplash-theme-manjaro-space-purple/bootsplash-manjaro-space-purple.initcpio_install" "$pkgdir/usr/lib/initcpio/install/bootsplash-manjaro-space-purple"
}