diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -2,7 +2,7 @@ # https://github.com/dnaka91/pkgbuilds pkgname=ffprog -pkgver=0.1.1 +pkgver=0.1.3 pkgrel=1 pkgdesc="FFmpeg with nice progress visualization" arch=('aarch64' 'i686' 'x86_64') @@ -11,7 +11,7 @@ license=('AGPL3') depends=('ffmpeg' 'gcc-libs') makedepends=('cargo') source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -b2sums=('1bd004ce4d797b2f1f5c726d9bb8ecad3b8ab5f996ae26141648104fae60e4d8cbf3cc9dde002d125a59dafca2a1492a61d0b48bd1f5de3d89607df4437bc1cd') +b2sums=('bccaa1e31fc82e8c2eb6d16eea6055512311055518aae9cd24236d729d7c119211a4f085ca68326cef9cfb6dcb2cb4dbb5db6f196e39cd98bc9eb6cc5f749488') prepare() { cd "$pkgname-$pkgver" @@ -36,4 +36,12 @@ package() { install -Dm 755 target/release/"$pkgname" -t "$pkgdir"/usr/bin install -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/"$pkgname" install -Dm 644 README.md -t "$pkgdir"/usr/share/doc/"$pkgname" + + install -dm 755 "$pkgdir"/usr/share/{bash-completion/completions,fish/vendor_completions.d,zsh/site-functions}/ + ./target/release/"$pkgname" completions bash > "$pkgdir"/usr/share/bash-completion/completions/"$pkgname" + ./target/release/"$pkgname" completions fish > "$pkgdir"/usr/share/fish/vendor_completions.d/"$pkgname".fish + ./target/release/"$pkgname" completions zsh > "$pkgdir"/usr/share/zsh/site-functions/_"$pkgname" + + install -dm 755 "$pkgdir"/usr/share/man/man1/ + ./target/release/"$pkgname" manpages "$pkgdir"/usr/share/man/man1 } |