desktop/minitube/PKGBUILD

26 lines
946 B
Bash
Raw Normal View History

2010-07-20 07:32:24 +08:00
pkgname=minitube
2017-05-31 07:11:06 +08:00
pkgver=2.7
2015-09-19 04:59:14 +08:00
pkgrel=1
2010-07-20 07:32:24 +08:00
pkgdesc="A native YouTube client in QT. Watch YouTube videos without Flash Player"
arch=('x86_64')
2010-07-20 07:32:24 +08:00
url="http://flavio.tordini.org/minitube"
license=('GPL')
2017-02-18 02:12:18 +08:00
depends=('qt5-base' 'phonon-qt5' 'phonon-qt5-backend-vlc' 'qt5-script' 'qt5-declarative')
makedepends=('qt5-tools')
categories=('multimedia')
install=${pkgname}.install
2013-09-24 07:33:16 +08:00
screenshot="http://flavio.tordini.org/files/minitube/minitube-01.jpg"
2017-02-18 02:12:18 +08:00
source=("${pkgname}-${pkgver}::https://github.com/flaviotordini/${pkgname}/archive/${pkgver}.tar.gz")
2017-05-31 07:11:06 +08:00
sha512sums=('fda635c1644e58108d90035099ef8072954c01a525ae501ab41ddcd72ae808ce308a891588933aac58235f76eab3de5dabb1b1fa92e8d7c32dc665e57374c72e')
2010-07-20 07:32:24 +08:00
build() {
2015-04-20 07:29:50 +08:00
cd "${srcdir}/${pkgname}-${pkgver}"
2015-09-19 04:59:14 +08:00
qmake-qt5 "DEFINES += APP_GOOGLE_API_KEY=AIzaSyBt58M-8FXF3Rwj5hmK2k4ATbkqBk8c-JA"
}
2010-07-20 07:32:24 +08:00
package() {
2015-04-20 07:29:50 +08:00
cd "${srcdir}/${pkgname}-${pkgver}"
2012-01-07 07:04:00 +08:00
make install INSTALL_ROOT="${pkgdir}"
}