summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 62e8d9c927e8a9671676ec80feba062c273f54c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
_pkgname="auto-commit"
pkgname="$_pkgname-git"
pkgver=0.1.5.r8.gc23c442
pkgrel=1
pkgdesc="A CLI tool that generates commit messages from your staged changes, built in Rust and using OpenAI's Codex."
arch=("x86_64" "arm")
license=("mit")
url='https://github.com/m1guelpf/auto-commit'
makedepends=("git")
source=("git+https://github.com/m1guelpf/auto-commit.git")
sha512sums=("SKIP")

pkgver() {
  cd "$_pkgname"
  git describe --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
    cd auto-commit
    bash "./install.sh"
}