blob: 1e3fdb1afee7c1779265a6f82dbfa70118ff7880 (
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
|
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: tarampampam <murmur at cats dot rulez>
# Maintainer: jetexe <aur at jetexe dot net>
pkgname='describe-commit'
pkgver=0.1.8
pkgrel=1
pkgdesc='CLI tool that leverages AI to generate commit messages based on changes made in a Git repository'
url='https://github.com/tarampampam/describe-commit'
arch=('aarch64' 'x86_64')
license=('MIT')
provides=('describe-commit')
conflicts=('describe-commit')
depends=('git')
makedepends=('go')
source=("${pkgname}_${pkgver}.tar.gz::https://github.com/tarampampam/describe-commit/releases/download/v0.1.8/describe-commit_v0.1.8_sources.tar.gz")
sha256sums=('7ed27342c5569faff5aef41d996e1be117722d8f57725379e6f8043dcb440ea0')
prepare() {
go mod download
}
build() {
go generate -skip readme ./...
CGO_ENABLED=0 go build \
-trimpath \
-ldflags "-s -w -X gh.tarampamp.am/describe-commit/internal/version.version=${pkgver}" \
-o ./describe-commit \
./cmd/describe-commit/
}
package() {
install -Dm755 "./describe-commit" "$pkgdir/usr/bin/describe-commit"
}
|