blob: 33da6233a203ebfd4c0ffc6dc57dba3a27e8788d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: KokaKiwi <kokakiwi+aur at kokakiwi dot net>
pkgname=pipe-rename-git
pkgver=1.1.6.r1.gb734616
pkgrel=1
pkgdesc='Rename your files using your favorite text editor'
url='https://github.com/marcusbuffett/pipe-rename'
arch=('x86_64' 'i686')
license=('MIT')
depends=('gcc-libs')
makedepends=('git' 'cargo')
source=("${pkgname}::git+https://github.com/marcusbuffett/pipe-rename.git")
sha256sums=('SKIP')
b2sums=('SKIP')
pkgver() {
cd "${pkgname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${pkgname}"
cargo build --release --locked --all-features --target-dir=target
}
package() {
cd "${pkgname}"
install -Dm0755 target/release/renamer "${pkgdir}/usr/bin/pipe-rename"
}
|