summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIsmael González2018-07-23 23:28:08 +0200
committerIsmael González2018-07-23 23:28:58 +0200
commit416235a579f6487082f53c31fb5a4238a2e3d0b6 (patch)
tree94bcd07403929f0cf54310c3d2249d67fafc83d1
parent80f5b548df4b711f86f98b790db658b5da0d0030 (diff)
downloadaur-416235a579f6487082f53c31fb5a4238a2e3d0b6.tar.gz
Fix install file paths
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD11
2 files changed, 7 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e34ce8e7751..89a44488378 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,11 @@
pkgbase = rnr
pkgdesc = Command-line tool to rename multiple files.
pkgver = 0.1.4
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/ChuckDaniels87/rnr
arch = x86_64
license = MIT
makedepends = cargo
- makedepends = git
source = https://github.com/ChuckDaniels87/rnr/archive/v0.1.4.tar.gz
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index e6b1932efa5..14cf07909a5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,12 @@
pkgname=rnr
pkgver=0.1.4
-pkgrel=1
+pkgrel=2
pkgdesc='Command-line tool to rename multiple files.'
arch=('x86_64')
url='https://github.com/ChuckDaniels87/rnr'
license=('MIT')
-makedepends=('cargo' 'git')
+makedepends=('cargo')
source=("https://github.com/ChuckDaniels87/$pkgname/archive/v$pkgver.tar.gz")
md5sums=('SKIP')
@@ -19,18 +19,19 @@ build() {
package() {
cd "$pkgname-$pkgver"
+ # Binary
+ install -Dm755 "target/release/rnr" "$pkgdir/usr/bin/rnr"
# Completion files
- install -Dm644 "target/release/build/rnr-"*/_rnr \
+ install -Dm644 "target/release/build/rnr-"*/out/_rnr \
"$pkgdir/usr/share/zsh/site-functions/_rnr"
install -Dm644 "target/release/build/rnr-"*/out/rnr.bash \
"$pkgdir/usr/share/bash-completion/completions/rnr"
install -Dm644 "target/release/build/rnr-"*/out/rnr.fish \
"$pkgdir/usr/share/fish/completions/rnr.fish"
-
# Documentation
install -Dm644 "README.md" "$pkgdir/usr/share/doc/${pkgname}/README.md"
# License files
- install -Dm644 LICENCE \
+ install -Dm644 LICENSE \
"$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
}
# vim: ts=2 sw=2 et: