diff options
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 7 insertions, 7 deletions
@@ -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 @@ -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: |