PKGBUILD 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Maintainer (arch): David Runge <dvzrv@archlinux.org>
  2. # Contributor: speps <speps at aur dot archlinux dot org>
  3. # Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
  4. # Contributor: fauno <fauno@parabola.nu>
  5. # parabola changes and ratuonale:
  6. # - remove 'AppsWidget' with non-free recommendations
  7. pkgname=minitube
  8. pkgver=3.9
  9. pkgrel=1
  10. pkgrel+=.parabola1
  11. pkgdesc="A YouTube desktop application"
  12. pkgdesc+=", without non-free recommendations"
  13. arch=('x86_64')
  14. arch+=('i686')
  15. url="https://flavio.tordini.org/minitube"
  16. license=('GPL3')
  17. depends=('gcc-libs' 'glibc' 'qt5-base' 'qt5-declarative' 'qt5-x11extras')
  18. makedepends=('mpv' 'qt5-tools')
  19. source=("https://github.com/flaviotordini/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
  20. source+=('remove_unfree_recommendations.patch')
  21. sha512sums=('d68545ce81eae730213bc7abe8de52d28c0230f92cef727d9129b9b512c3b396afffb06839f491bc9edaf2174658b0457859ddaa4660ba005650e6a8c65772f4')
  22. sha512sums+=('eca111cbdcaa1608e37be4fc795d0db5c60caa3a17d76ebe9bccd809b57a6a6c6fae64e0c52e6565898c63aebe0ad6be67cf23d6a2e9b44c1139781f541e8d6c')
  23. prepare() {
  24. cd "${pkgname}-${pkgver}"
  25. patch -p1 -i ../remove_unfree_recommendations.patch
  26. }
  27. build() {
  28. cd "${pkgname}-${pkgver}"
  29. qmake
  30. }
  31. package() {
  32. depends+=('libmpv.so')
  33. cd "${pkgname}-${pkgver}"
  34. make install INSTALL_ROOT="${pkgdir}/"
  35. install -vDm 644 {AUTHORS,CHANGES,README.md,TODO} \
  36. -t "${pkgdir}/usr/share/doc/${pkgname}"
  37. }