2015-08-04 20:04:32 +02:00
|
|
|
# Maintainer: Martchus <martchus@gmx.net>
|
2016-03-25 21:43:59 +01:00
|
|
|
|
|
|
|
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
|
|
|
|
# you also find the URL of a binary repository.
|
|
|
|
|
2015-12-02 02:20:30 +01:00
|
|
|
_reponame=videodownloader
|
2015-06-24 23:12:08 +02:00
|
|
|
pkgname=videodownloader
|
2016-09-11 23:37:58 +02:00
|
|
|
pkgver=1.3.2
|
2016-11-06 12:51:04 +01:00
|
|
|
pkgrel=2
|
2015-06-24 23:12:08 +02:00
|
|
|
arch=('i686' 'x86_64')
|
2016-09-11 23:37:58 +02:00
|
|
|
pkgdesc='A video downloader with Qt GUI (currently only YouTube and Vimeo are maintained)'
|
2015-06-24 23:12:08 +02:00
|
|
|
license=('GPL')
|
2015-08-31 01:53:31 +02:00
|
|
|
depends=('qtutilities' 'openssl' 'desktop-file-utils' 'xdg-utils')
|
2015-12-06 19:17:57 +01:00
|
|
|
makedepends=('cmake' 'qt5-tools')
|
2015-12-02 02:20:30 +01:00
|
|
|
url="https://github.com/Martchus/${_reponame}"
|
2016-10-03 14:23:34 +02:00
|
|
|
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz")
|
2016-09-11 23:37:58 +02:00
|
|
|
sha256sums=('4f2ffc1762b6f3fda50c7d1b5673e85e2dbfea50543f3219792f6126a30e1bce')
|
2015-06-24 23:12:08 +02:00
|
|
|
|
|
|
|
build() {
|
2015-12-24 16:50:30 +01:00
|
|
|
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
|
2016-04-26 21:19:49 +02:00
|
|
|
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr"
|
2015-12-24 16:50:30 +01:00
|
|
|
make
|
2015-06-24 23:12:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2015-12-24 16:50:30 +01:00
|
|
|
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
|
2016-04-26 21:19:49 +02:00
|
|
|
make DESTDIR="${pkgdir}" install
|
2015-06-24 23:12:08 +02:00
|
|
|
}
|