# Maintainer: Martchus # All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where # you also find the URL of a binary repository. _reponame=videodownloader pkgname=videodownloader pkgver=1.3.4 pkgrel=1 arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') pkgdesc='A video downloader with Qt GUI (currently only YouTube and Vimeo are maintained)' license=('GPL') depends=('qtutilities' 'openssl' 'desktop-file-utils' 'xdg-utils') makedepends=('cmake' 'qt5-tools' 'mesa') url="https://github.com/Martchus/${_reponame}" source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz") sha256sums=('2d2537a25332ca745abff5dcde5354b6646c361f46f3dc4d00a529237f2f8e19') build() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cmake \ -DCMAKE_BUILD_TYPE:STRING='Release' \ -DCMAKE_INSTALL_PREFIX:PATH='/usr' \ -DBUILD_SHARED_LIBS:BOOL=ON \ . make } package() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" make DESTDIR="${pkgdir}" install }