PKGBUILDs/videodownloader/default/PKGBUILD

34 lines
1.1 KiB
Bash
Raw Normal View History

2015-08-04 20:04:32 +02:00
# Maintainer: Martchus <martchus@gmx.net>
# 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
pkgname=videodownloader
2020-05-06 19:15:21 +02:00
pkgver=1.3.6
2017-03-24 23:58:41 +01:00
pkgrel=1
2018-11-01 05:16:53 +01:00
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
2016-09-11 23:37:58 +02:00
pkgdesc='A video downloader with Qt GUI (currently only YouTube and Vimeo are maintained)'
license=('GPL')
2015-08-31 01:53:31 +02:00
depends=('qtutilities' 'openssl' 'desktop-file-utils' 'xdg-utils')
makedepends=('cmake' 'ninja' 'qt5-tools' 'mesa')
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")
2020-05-06 19:15:21 +02:00
sha256sums=('59adbb242250235d0e580fbb858c3eb30c724f5463defc49330015e2233927ed')
build() {
2015-12-24 16:50:30 +01:00
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
cmake \
-G Ninja \
-DCMAKE_BUILD_TYPE:STRING='Release' \
-DCMAKE_INSTALL_PREFIX:PATH='/usr' \
-DBUILD_SHARED_LIBS:BOOL=ON \
.
ninja
}
package() {
2015-12-24 16:50:30 +01:00
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
DESTDIR="${pkgdir}" ninja install
}