Advertisement
Guest User

Untitled

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