summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4d8c4f659fa6311c7203240ff45fdfcff9d0f132 (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
# Maintainer: balaraz <balaraz@tuta.io>

pkgname=mmv-c
pkgver=0.1
pkgrel=1
pkgdesc="Rename multiple files with editor like to mmv-go"
license=(MIT)
url='https://github.com/mcauley-penney/mmv-c/'
arch=(x86_64)
depends=(glibc)
makedepends=(make gcc)
provides=(mmv)
conflicts=(mmv-c-git mmv mmv-go)
source=("${pkgname}.zip::${url}/archive/refs/heads/main.zip")
sha256sums=("SKIP")

package() {
		cd ./mmv-c-main

		make > /dev/null

		install -Dm755 ./mmv -t ${pkgdir}/usr/bin

		install -Dm644 ./man/mmv.1.gz -t ${pkgdir}/usr/share/man/man1
		install -Dm644 ./LICENSE -t ${pkgdir}/usr/share/licenses/${pkgname}
}