2015-08-26 21:21:22 +02:00
|
|
|
# Maintainer: Martchus <martchus@gmx.net>
|
2015-09-06 21:53:25 +02:00
|
|
|
_name=videodownloader
|
2015-08-26 21:21:22 +02:00
|
|
|
pkgname=videodownloader-git
|
2015-09-06 21:53:25 +02:00
|
|
|
pkgver=27.8960d5b
|
2015-09-26 20:02:26 +02:00
|
|
|
pkgrel=5
|
2015-08-26 21:21:22 +02:00
|
|
|
arch=('i686' 'x86_64')
|
2015-08-28 20:02:43 +02:00
|
|
|
pkgdesc="A video downloader with Qt GUI (currently only YouTube is maintained, git version)."
|
2015-08-26 21:21:22 +02:00
|
|
|
license=('GPL')
|
2015-08-31 01:53:31 +02:00
|
|
|
depends=('qtutilities' 'openssl' 'desktop-file-utils' 'xdg-utils')
|
2015-11-08 20:48:19 +01:00
|
|
|
makedepends=('qt5-tools' 'git')
|
2015-08-26 21:21:22 +02:00
|
|
|
provides=('videodownloader')
|
|
|
|
conflicts=('videodownloader')
|
2015-09-06 21:53:25 +02:00
|
|
|
install=${_name}.install
|
2015-08-26 21:21:22 +02:00
|
|
|
url="https://github.com/Martchus/videodownloader"
|
|
|
|
source=("${pkgname}::git://github.com/Martchus/videodownloader.git")
|
|
|
|
_reponame=videodownloader
|
2015-08-27 22:41:20 +02:00
|
|
|
sha256sums=('SKIP')
|
2015-08-26 21:21:22 +02:00
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd "${srcdir}/${pkgname}"
|
|
|
|
echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${pkgname}"
|
2015-09-06 21:53:25 +02:00
|
|
|
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$_name.pro"
|
2015-09-26 20:02:26 +02:00
|
|
|
make
|
2015-08-26 21:21:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${pkgname}"
|
|
|
|
make install
|
|
|
|
}
|