summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0f950a6f36dab11b9c5bd000c1da5a3a08ed5685 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Pierre Mavro <deimosfr@gmail.com>
pkgname=commitizen-go
pkgver=1.0.0
pkgrel=4
pkgdesc="Command line utility to standardize git commit messages, golang version"
arch=(x86_64)
url="https://github.com/lintingzhen/commitizen-go"
license=('GPL')
makedepends=(git go)
source=("https://github.com/lintingzhen/commitizen-go/archive/v$pkgver.tar.gz")

build() {
	cd "$pkgname-$pkgver"
    make
}

package() {
    git_exec_path=$(git --exec-path)
	cd "$pkgname-$pkgver"
    install -Dm755 "$pkgname" "$pkgdir/$git_exec_path/git-cz"
}
md5sums=('b35e8fa0b64b253ee627a4b5fd67b8e0')