Date: Sunday, August 31, 2014 @ 16:39:27 Author: speps Revision: 118102
archrelease: copy trunk to community-i686, community-x86_64 Added: harvid/repos/community-i686/ harvid/repos/community-i686/PKGBUILD (from rev 118101, harvid/trunk/PKGBUILD) harvid/repos/community-x86_64/ harvid/repos/community-x86_64/PKGBUILD (from rev 118101, harvid/trunk/PKGBUILD) ---------------------------+ community-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ community-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) Copied: harvid/repos/community-i686/PKGBUILD (from rev 118101, harvid/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2014-08-31 14:39:27 UTC (rev 118102) @@ -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" +} Copied: harvid/repos/community-x86_64/PKGBUILD (from rev 118101, harvid/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2014-08-31 14:39:27 UTC (rev 118102) @@ -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" +}