summaryrefslogtreecommitdiff
path: root/pcr/youtube-dl-qt/PKGBUILD
blob: fbbed825f7abcf12c84500e1b9093be471b3d3c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: David P. <megver83@parabola.nu>
# Contributor: Robin de Rooij <rderooij685@gmail.com>

pkgname=youtube-dl-qt
pkgver=82.g5e87881
pkgrel=1
pkgdesc="Qt frontend for youtube-dl"
arch=('any')
url="https://github.com/rrooij/youtube-dl-qt"
license=('GPL3')
depends=('qt5-base' 'youtube-dl' 'hicolor-icon-theme')
makedepends=('git' 'make')
optdepends=('ffmpeg: for some youtube-dl functionality')
conflicts=('$pkgname-git')
source=("$pkgname::git+$url.git")
md5sums=('SKIP')

#pkgver() {
#  cd "$srcdir/$_gitname"
#  echo "$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
#}

build() {
	cd "$srcdir/$pkgname"
	qmake -config release
	make
}

package() {
	cd "$srcdir/$pkgname"
	make INSTALL_ROOT="$pkgdir/" install
}