Guest User

plasma5-wallpapers-video-git - PKGBUILD update

a guest
May 31st, 2019
262
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Tip: If your video doesn't play, take a look at "journalctl -b" or re-launch plasmashell with "plasmashell"
  2.  
  3. _pkgname=org.kde.video
  4. pkgname=plasma5-wallpapers-video-git
  5. pkgver=r18.d22f26b
  6. pkgrel=1
  7. pkgdesc="Allows the use of video wallpaper and lock screen."
  8. arch=("any")
  9. url="https://github.com/halverneus/org.kde.video"
  10. license=('unknown')
  11. depends=('plasma-workspace' 'gst-plugins-base-libs')
  12. optdepends=(
  13. 'gst-plugins-good: more codecs'
  14. 'gst-plugins-bad: more codecs'
  15. 'gst-plugins-ugly: more codecs'
  16. )
  17. makedepends=('git')
  18. provides=("plasma5-wallpapers-video")
  19. conflicts=("plasma5-wallpapers-video")
  20. source=('git+https://github.com/halverneus/org.kde.video')
  21. sha512sums=('SKIP')
  22.  
  23. pkgver() {
  24. cd "$srcdir/$_pkgname"
  25. printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  26. }
  27.  
  28. package() {
  29. mkdir -p "$pkgdir/usr/share/plasma/wallpapers/$_pkgname"
  30. cp -r "$srcdir/$_pkgname/"* "$pkgdir/usr/share/plasma/wallpapers/$_pkgname"
  31. }
RAW Paste Data