summaryrefslogtreecommitdiff
path: root/pcr/youtube-dl-qt/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/youtube-dl-qt/PKGBUILD')
-rw-r--r--pcr/youtube-dl-qt/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/pcr/youtube-dl-qt/PKGBUILD b/pcr/youtube-dl-qt/PKGBUILD
new file mode 100644
index 000000000..fbbed825f
--- /dev/null
+++ b/pcr/youtube-dl-qt/PKGBUILD
@@ -0,0 +1,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
+}