mirror of
https://github.com/SinTan1729/aur-packages.git
synced 2024-12-25 15:48:36 -06:00
Bumped movie-rename-bin version to 2.3.0
This commit is contained in:
parent
5ea5432802
commit
50d2e98efa
1 changed files with 12 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: Sintan Santorum <c1scu0hh at anonaddy dot me>
|
# Maintainer: Sintan Santorum <c1scu0hh at anonaddy dot me>
|
||||||
pkgname="movie-rename-bin"
|
pkgname="movie-rename-bin"
|
||||||
_pkgname="movie-rename"
|
_pkgname="movie-rename"
|
||||||
pkgver=2.2.2
|
pkgver=2.3.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A simple tool to rename movies, written in Rust."
|
pkgdesc="A simple tool to rename movies, written in Rust."
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
@ -9,10 +9,20 @@ url="https://github.com/SinTan1729/$_pkgname"
|
||||||
license=('GPL3')
|
license=('GPL3')
|
||||||
provides=('movie-rename')
|
provides=('movie-rename')
|
||||||
source=("$_pkgname-$pkgver.tar.gz::$url/releases/download/$pkgver/$_pkgname.tar.gz")
|
source=("$_pkgname-$pkgver.tar.gz::$url/releases/download/$pkgver/$_pkgname.tar.gz")
|
||||||
b2sums=('2747065ca98c59980a22891d7c1dd0ed847a526c83494692555c6a5d8458423a096170d283c3f9f157f791c769d6d99ec4c77646eb30dbf516333629591899fc')
|
b2sums=('c8d33c7cf0a4a985a991cbc50337ad38a3791eaa259df2c5703f1da0af844233dfeb3082e7c2bc06b8ce292820db18f2c6561dd49adba4a422801af6c29821bb')
|
||||||
package() {
|
package() {
|
||||||
# binary
|
# binary
|
||||||
install -Dm755 ./$_pkgname "$pkgdir/usr/bin/$_pkgname"
|
install -Dm755 ./$_pkgname "$pkgdir/usr/bin/$_pkgname"
|
||||||
# manpage
|
# manpage
|
||||||
install -Dm644 ./$_pkgname.1 "$pkgdir/usr/share/man/man1/$_pkgname.1"
|
install -Dm644 ./$_pkgname.1 "$pkgdir/usr/share/man/man1/$_pkgname.1"
|
||||||
|
# completions
|
||||||
|
if $(command -v fish &>/dev/null); then
|
||||||
|
install -Dm644 ./$_pkgname.fish "${pkgdir}/usr/share/fish/completions/$_pkgname.fish"
|
||||||
|
fi
|
||||||
|
if $(command -v bash &>/dev/null); then
|
||||||
|
install -Dm644 ./$_pkgname.bash "${pkgdir}/usr/share/bash-completion/completions/$_pkgname"
|
||||||
|
fi
|
||||||
|
if $(command -v zsh &>/dev/null); then
|
||||||
|
install -Dm644 ./$_pkgname.zsh "${pkgdir}/usr/share/zsh/site-functions/_$_pkgname"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue