yochananmarqos

bootsplash-theme-manjaro-glitch-git

Sep 13th, 2020 (edited)
127
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=bootsplash-theme-manjaro-glitch-git
  2. _pkgname=bootsplash-manjaro-glitch
  3. pkgver=1.0.r0.g320c1af
  4. pkgrel=1
  5. pkgdesc="Simple Manjaro Bootsplash with cool glitch effect"
  6. arch=('x86_64')
  7. url="https://github.com/ANDRoid7890/bootsplash-theme-manjaro-glitch"
  8. license=('GPL')
  9. makedepends=('git' 'imagemagick')
  10. optdepends=('bootsplash-systemd: for bootsplash functionality')
  11. provides=("${pkgname%-git}")
  12. conflicts=("${pkgname%-git}")
  13. source=('git+https://github.com/ANDRoid7890/bootsplash-theme-manjaro-glitch.git')
  14. sha256sums=('SKIP')
  15.  
  16. pkgver() {
  17.   cd "$srcdir/${pkgname%-git}"
  18.   git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
  19. }
  20.  
  21. build() {
  22.   cd "$srcdir/${pkgname%-git}"
  23.   sh ./"$_pkgname.sh"
  24. }
  25.  
  26. package() {
  27.   cd "$srcdir/${pkgname%-git}"
  28.   install -Dm644 "$_pkgname" \
  29.     "$pkgdir/usr/lib/firmware/bootsplash-themes/manjaro-glitch/bootsplash"
  30.   install -Dm644 "$_pkgname.initcpio_install" \
  31.     "$pkgdir/usr/lib/initcpio/install/$_pkgname"
  32. }
RAW Paste Data