pkgname=minitube pkgver=2.8 pkgrel=1 pkgdesc="A native YouTube client in QT. Watch YouTube videos without Flash Player" arch=('x86_64') url="http://flavio.tordini.org/minitube" license=('GPL') depends=('qt5-base' 'phonon-qt5' 'phonon-qt5-backend-vlc' 'qt5-script' 'qt5-declarative') makedepends=('qt5-tools') categories=('multimedia') install=${pkgname}.install screenshot="http://flavio.tordini.org/files/minitube/minitube-01.jpg" source=("${pkgname}-${pkgver}::https://github.com/flaviotordini/${pkgname}/archive/${pkgver}.tar.gz") sha512sums=('ac4955f02c1e37e6656cc3647098b0f1282d7e33637c770ab36c3c68bb568c1980758432b34f811fe45210d22e7b228ea584f9927e3b542a4f619d89fc92ea3a') build() { cd "${srcdir}/${pkgname}-${pkgver}" qmake-qt5 "DEFINES += APP_GOOGLE_API_KEY=AIzaSyBt58M-8FXF3Rwj5hmK2k4ATbkqBk8c-JA" } package() { cd "${srcdir}/${pkgname}-${pkgver}" make install INSTALL_ROOT="${pkgdir}" }