[arch-commits] Commit in harvid/repos (2 files)

David Runge dvzrv at archlinux.org
Sun Dec 3 18:05:45 UTC 2017


    Date: Sunday, December 3, 2017 @ 18:05:42
  Author: dvzrv
Revision: 272028

archrelease: copy trunk to community-testing-x86_64

Added:
  harvid/repos/community-testing-x86_64/
  harvid/repos/community-testing-x86_64/PKGBUILD
    (from rev 272027, harvid/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: harvid/repos/community-testing-x86_64/PKGBUILD (from rev 272027, harvid/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2017-12-03 18:05:42 UTC (rev 272028)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: speps <speps dot aur dot archlinux dot org>
+
+pkgname=harvid
+pkgver=0.8.2
+pkgrel=1
+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")
+sha512sums=('fde352124008cd3d6230950c79a3a2b8d581803f952c7313c941226b00e80f8078053d941f2c5ead04672639a8db696f0c33482f69dab78187801d7ebce23fce')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  # different job setting needed to not crash build
+  make PREFIX=/usr -j1
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  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"
+
+  install -Dm644 README.md \
+    "${pkgdir}/usr/share/doc/${pkgname}/README"
+}



More information about the arch-commits mailing list