summaryrefslogtreecommitdiff
path: root/pcr/youtube-dl-qt
diff options
context:
space:
mode:
authorDavid P <megver83@openmailbox.org>2017-04-08 20:39:42 -0300
committerDavid P <megver83@openmailbox.org>2017-04-08 20:39:42 -0300
commita6ca25068efb7ea2084ef4ddf61ef170e53cec7d (patch)
treec793a0cfcfae1dc0b323b1fbad33103592419ec9 /pcr/youtube-dl-qt
parentb8cc752daee283ed4aaccafbbc69c5dff0afcaf7 (diff)
downloadabslibre-a6ca25068efb7ea2084ef4ddf61ef170e53cec7d.tar.gz
abslibre-a6ca25068efb7ea2084ef4ddf61ef170e53cec7d.tar.bz2
abslibre-a6ca25068efb7ea2084ef4ddf61ef170e53cec7d.zip
Added youtube-dl-qt to [pcr]
Diffstat (limited to 'pcr/youtube-dl-qt')
-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
+}