PKGBUILDs/videodownloader/default/PKGBUILD

30 lines
976 B
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
pkgver=1.3.1
pkgrel=0.1
arch=('i686' 'x86_64')
2015-12-24 16:50:30 +01: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')
2015-12-06 19:17:57 +01:00
makedepends=('cmake' 'qt5-tools')
install=${pkgname}.install
2015-12-02 02:20:30 +01:00
url="https://github.com/Martchus/${_reponame}"
source=("videodownloader-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz")
2015-12-28 00:22:34 +01:00
sha256sums=('0680db3887715f6147247d2344745794fac6d6d57daf0173c8e2ac29b5392e30')
build() {
2015-12-24 16:50:30 +01:00
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr"
make
}
package() {
2015-12-24 16:50:30 +01:00
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
make install
}