1 # Maintainer: George Rawlinson <grawlinson@archlinux.org>
6 pkgdesc='Rename your files using your favorite text editor'
8 url='https://github.com/marcusbuffett/pipe-rename'
10 depends=('glibc' 'gcc-libs')
11 makedepends=('git' 'rust')
13 _commit='2db7c4eabb5f2560c294c72b37bdbf6354e9cc66'
15 "$pkgname::git+$url#commit=$_commit"
19 '3a3dbfd7a5a8d02a3a96bb1652bd25cae21d1080b941ecd3bee3f46e98b4a2f30b4a7ecdeb1e55ec2bf8bfefbeb9500287acb964ccb7149a405ee28eebd05889')
21 'abec091be86ec71b15a70251d769d4177639881c28d71fb9127d86cf711514e0fe40e80edd645e97df532980baf13380433fd2b497e03b4021d49e87434a4965')
26 git describe --tags | sed 's/^v//'
32 cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
38 cargo build --frozen --release
45 install -vDm755 -t "$pkgdir/usr/bin" target/release/renamer
48 install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
51 install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" "$srcdir/LICENSE"