desktop/minitube/PKGBUILD
2017-05-31 00:11:06 +01:00

26 lines
946 B
Bash

pkgname=minitube
pkgver=2.7
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=('fda635c1644e58108d90035099ef8072954c01a525ae501ab41ddcd72ae808ce308a891588933aac58235f76eab3de5dabb1b1fa92e8d7c32dc665e57374c72e')
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}"
}