summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7f8b2f5c93cffffbf16c54fb96c270cfb272a5ef (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.r14.gb02ee87
pkgrel=2
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"
}