summarylogtreecommitdiffstats
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
parentd9e8e336ec4a87a82f175d8e5286932aac95c69c (diff)
downloadaur-2ee118b8705961a0c2ef4ca3a8bc24ad0d8c277b.tar.gz
Update to v0.1.6
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD21
2 files changed, 9 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bc72af9274a..0d2947f9b6b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,11 @@
pkgbase = rnr
pkgdesc = Command-line tool to rename multiple files.
- pkgver = 0.1.5
+ pkgver = 0.1.6
pkgrel = 1
url = https://github.com/ChuckDaniels87/rnr
arch = x86_64
license = MIT
- makedepends = cargo
- source = https://github.com/ChuckDaniels87/rnr/archive/v0.1.5.tar.gz
+ source = https://github.com/ChuckDaniels87/rnr/releases/download/v0.1.6/rnr-v0.1.6-x86_64-unknown-linux-gnu.tar.gz
md5sums = SKIP
pkgname = rnr
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"