blob: d09dfd0ac7127f4b1a7e265f49fb4296e43b0ffa (
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
|
# Maintainer: txtsd <aur.archlinux@ihavea.quest>
# Contributor: Sefa Eyeoglu <contact@scrumplex.net>
# Contributor: Miika Hänninen <miika.hanninen@gmail.com>
pkgname=vimv-git
pkgver=r55.90bf552
pkgrel=1
pkgdesc='Batch-rename files using Vim'
arch=(any)
url='https://github.com/thameera/vimv'
license=('MIT')
depends=(bash)
makedepends=(git)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("$pkgname::git+https://github.com/thameera/vimv.git")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$pkgname"
install -Dm755 vimv "$pkgdir/usr/bin/vimv"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|