[arch-commits] Commit in harvid/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Tue Apr 24 19:59:32 UTC 2018


    Date: Tuesday, April 24, 2018 @ 19:59:31
  Author: dvzrv
Revision: 317618

upgpkg: harvid 0.8.2-2

Rebuilding against ffmpeg >= 4.0. Removing libpng and libjpeg-turbo as redundant dependencies from depends.
Moving xxd to makedepends. Making install more verbose.

Modified:
  harvid/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-24 19:46:00 UTC (rev 317617)
+++ PKGBUILD	2018-04-24 19:59:31 UTC (rev 317618)
@@ -4,13 +4,14 @@
 
 pkgname=harvid
 pkgver=0.8.2
-pkgrel=1
+pkgrel=2
 pkgdesc="HTTP Ardour Video Daemon"
 arch=('x86_64')
 url="https://x42.github.io/harvid/"
 license=('GPL')
-depends=('ffmpeg' 'libpng' 'libjpeg-turbo' 'xxd')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/x42/harvid/archive/v$pkgver.tar.gz")
+depends=('ffmpeg')
+makedepends=('xxd')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/x42/${pkgname}/archive/v$pkgver.tar.gz")
 sha512sums=('fde352124008cd3d6230950c79a3a2b8d581803f952c7313c941226b00e80f8078053d941f2c5ead04672639a8db696f0c33482f69dab78187801d7ebce23fce')
 
 build() {
@@ -24,9 +25,9 @@
   make PREFIX=/usr DESTDIR="${pkgdir}/" install
 
   # ffmpeg and ffprobe symlinks (for ardour)
-  ln -s ffmpeg "${pkgdir}/usr/bin/ffmpeg_harvid"
-  ln -s ffprobe "${pkgdir}/usr/bin/ffprobe_harvid"
+  ln -sv ffmpeg "${pkgdir}/usr/bin/ffmpeg_${pkgname}"
+  ln -sv ffprobe "${pkgdir}/usr/bin/ffprobe_${pkgname}"
 
-  install -Dm644 README.md \
-    "${pkgdir}/usr/share/doc/${pkgname}/README"
+  install -vDm 644 README.md \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/"
 }



More information about the arch-commits mailing list