summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorIsmael González2018-08-01 02:55:08 +0200
committerIsmael González2018-08-01 02:55:39 +0200
commit2ee118b8705961a0c2ef4ca3a8bc24ad0d8c277b (patch)
tree40bbacc194c243a17a45cfab0abf40b7dbb1a796 /PKGBUILD
parentd9e8e336ec4a87a82f175d8e5286932aac95c69c (diff)
downloadaur-2ee118b8705961a0c2ef4ca3a8bc24ad0d8c277b.tar.gz
Update to v0.1.6
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 7 insertions, 14 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 74baea9e29f..ffb49fea0ca 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,25 @@
# Maintainer: Ismael González Valverde <ismgonval@gmail.com>
pkgname=rnr
-pkgver=0.1.5
+pkgver=0.1.6
pkgrel=1
pkgdesc='Command-line tool to rename multiple files.'
arch=('x86_64')
url='https://github.com/ChuckDaniels87/rnr'
license=('MIT')
-makedepends=('cargo')
-source=("https://github.com/ChuckDaniels87/$pkgname/archive/v$pkgver.tar.gz")
+source=("https://github.com/ChuckDaniels87/rnr/releases/download/v$pkgver/rnr-v$pkgver-$arch-unknown-linux-gnu.tar.gz")
md5sums=('SKIP')
-build() {
- cd "$pkgname-$pkgver"
- cargo build --release
-}
-
package() {
- cd "$pkgname-$pkgver"
+ cd "${pkgname}-v$pkgver-$arch-unknown-linux-gnu"
# Binary
- install -Dm755 "target/release/rnr" "$pkgdir/usr/bin/rnr"
+ install -Dm755 "rnr" "$pkgdir/usr/bin/rnr"
# Completion files
- install -Dm644 "target/release/build/rnr-"*/out/_rnr \
- "$pkgdir/usr/share/zsh/site-functions/_rnr"
- install -Dm644 "target/release/build/rnr-"*/out/rnr.bash \
+ install -Dm644 "completion/_rnr" "$pkgdir/usr/share/zsh/site-functions/_rnr"
+ install -Dm644 "completion/rnr.bash" \
"$pkgdir/usr/share/bash-completion/completions/rnr"
- install -Dm644 "target/release/build/rnr-"*/out/rnr.fish \
+ install -Dm644 "completion/rnr.fish" \
"$pkgdir/usr/share/fish/completions/rnr.fish"
# Documentation
install -Dm644 "README.md" "$pkgdir/usr/share/doc/${pkgname}/README.md"