Advertisement
Guest User

Untitled

a guest
Jan 2nd, 2021
341
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. # Maintainer: Jonathon Fernyhough <jonathon+m2x@dev>
  2. # Contributor: Leo <olorin12+gmail+com>
  3. # Contributor: bittin <droidbittin@gmail.com>
  4.  
  5. pkgname=hypnotix
  6. pkgver=1.4
  7. pkgrel=1
  8. pkgdesc="An IPTV app"
  9. arch=(any)
  10. url="https://github.com/linuxmint/hypnotix"
  11. license=(GPL3)
  12. depends=(dconf hicolor-icon-theme python-cairo python-imdbpy python-requests python-setproctitle mpv xapp)
  13. source=($url/archive/$pkgver.tar.gz)
  14. b2sums=('f4ced1e654a10665f2630cfef3f570b200e162821d11fdafcf82814a9d74f4de8a59428c20d5c3187b7d77e32f307a1680777ce9bfe6f6a83192afa2843d4763')
  15.  
  16. build() {
  17. cd $pkgname-$pkgver
  18. make
  19. }
  20.  
  21. package() {
  22. cd $pkgname-$pkgver
  23. install -D -t "$pkgdir"/usr/bin usr/bin/hypnotix
  24. install -D -t "$pkgdir"/usr/lib/hypnotix usr/lib/hypnotix/{common,hypnotix}.py
  25. install -Dm644 -t "$pkgdir"/usr/lib/hypnotix usr/lib/hypnotix/mpv.py
  26. install -Dm644 -t "$pkgdir"/usr/share/applications usr/share/applications/hypnotix.desktop
  27. install -Dm644 -t "$pkgdir"/usr/share/glib-2.0/schemas usr/share/glib-2.0/schemas/org.x.hypnotix.gschema.xml
  28. install -Dm644 -t "$pkgdir"/usr/share/hypnotix usr/share/hypnotix/*.{css,png,ui}
  29. install -Dm644 -t "$pkgdir"/usr/share/hypnotix/pictures usr/share/hypnotix/pictures/*.svg
  30. install -Dm644 -t "$pkgdir"/usr/share/hypnotix/pictures/badges usr/share/hypnotix/pictures/badges/*
  31. install -Dm644 -t "$pkgdir"/usr/share/icons/hicolor/scalable/apps usr/share/icons/hicolor/scalable/apps/hypnotix.svg
  32. }
  33.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement