summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5de5fa5a7ff5ce6498a967ef90ef1d77959dbe57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: satcom886 <rostik.medved@gmail.com>

pkgname=rffmpeg-git
pkgver=r231.a242218
pkgrel=1
pkgdesc="Remote SSH FFmpeg wrapper tool"
arch=('any')
url="https://github.com/joshuaboniface/rffmpeg"
license=('GPLv3')
groups=()
depends=('python' 'python-yaml')
makedepends=('git')
optdepends=()
provides=('ffmpeg-wrapper')
source=("rffmpeg::git+https://github.com/joshuaboniface/rffmpeg")
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/rffmpeg"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    mkdir -m 755 -p "$pkgdir/etc/rffmpeg"
    install -m 644 "$srcdir/rffmpeg/rffmpeg.yml.sample" "$pkgdir/etc/rffmpeg/"
    mkdir -m 755 -p "$pkgdir/usr/bin"
    install -m 755 "$srcdir/rffmpeg/rffmpeg" "$pkgdir/usr/bin/rffmpeg"
}