PKGBUILD 1.3 KB

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