summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2c1f40581acd4cc4045407b2207a9f142941c339 (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
33
# Maintainer: oldNo.7 <oldNo.7@archlinux.org>
pkgname=mmv-c-git
_binname=mmv
pkgver=0.1.0
pkgrel=1
pkgdesc="Rename multiple files with editor like to mmv-go"
arch=(i686 x86_64)
url='https://github.com/mcauley-penney/mmv-c'
license=("MIT")
depends=()
makedepends=('gcc' 'make')
conflicts=('mmv' 'mmv-go-git' 'mmv-go-bin-git' 'mmv-c')
provides=('mmv')
source=('git+https://github.com/mcauley-penney/mmv-c.git')
sha256sums=('SKIP')

build() {
	cd "$srcdir/mmv-c"
	make
}

check() {
	cd "$srcdir/mmv-c"
	make test
}

package() {
	cd "$srcdir/mmv-c"
	install -Dm755 "${_binname}" "$pkgdir/usr/bin/${_binname}"
	install -Dm644 "README.md"   "$pkgdir/usr/share/doc/${_binname}/README.md"
}

# vim:set noet sts=0 sw=4 ts=4 ft=PKGBUILD: