# Maintainer: Mickael Foucaux pkgname=gopro-tools-git pkgver=1.0.r14.gd21c542 pkgrel=1 pkgdesc="Tools for post production with GoPro cameras" arch=('any') url="https://github.com/KonradIT/gopro-linux" license=('GPL3') groups=('gopro-git') conflicts=('gopro-tools') depends=('mencoder' 'ffmpeg' 'imagemagick') source=('git+https://github.com/KonradIT/gopro-linux.git') md5sums=('SKIP') pkgver() { cd gopro-linux git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } package() { install -D -m755 "$srcdir/gopro-linux/gopro" "$pkgdir/usr/bin/gopro" }