desktop/minitube/PKGBUILD
2017-02-17 19:12:18 +01:00

26 lines
946 B
Bash

pkgname=minitube
pkgver=2.6
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=('9fc155c2fce04f81fd1bab08f6131cc295ffeb52ca0e6cc380990a9af9c3859020b1edb6920984e01a3cc8fbf07f4f3ce50970ecb22df0a702cca6660c3d68dc')
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}"
}