[arch-commits] Commit in (harvid harvid/repos harvid/trunk harvid/trunk/PKGBUILD)
speps
speps at archlinux.org
Sun Aug 31 14:36:41 UTC 2014
Date: Sunday, August 31, 2014 @ 16:36:41
Author: speps
Revision: 118096
addpkg: harvid 0.7.4
for using with Ardour and XJadeo
Added:
harvid/
harvid/repos/
harvid/trunk/
harvid/trunk/PKGBUILD
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Added: harvid/trunk/PKGBUILD
===================================================================
--- harvid/trunk/PKGBUILD (rev 0)
+++ harvid/trunk/PKGBUILD 2014-08-31 14:36:41 UTC (rev 118096)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: speps <speps dot aur dot archlinux dot org>
+
+pkgname=harvid
+pkgver=0.7.4
+pkgrel=1
+pkgdesc="HTTP Ardour Video Daemon"
+arch=('i686' 'x86_64')
+url="http://x42.github.io/harvid/"
+license=('GPL')
+depends=('ffmpeg' 'ffmpeg-compat')
+source=("https://github.com/x42/harvid/archive/v$pkgver.tar.gz")
+md5sums=('545c6b657a70f62d5f895b9866d020f9')
+
+build() {
+ cd $pkgname-$pkgver
+
+ # prevent GNU executable stack
+ CFLAGS+=" -Wl,-znoexecstack"
+ make PREFIX=/usr
+}
+
+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"
+
+ # doc
+ install -Dm644 README.md \
+ "$pkgdir/usr/share/doc/$pkgname/README"
+}
More information about the arch-commits
mailing list