Skip to content

Commit

Permalink
chore: update AUR pkbuild templates
Browse files Browse the repository at this point in the history
  • Loading branch information
bloznelis committed Oct 9, 2023
1 parent f810dca commit 81fd86d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/aur/.SRCINFO.template
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pkgbase = typioca-git
makedepends = go
provides = typioca
conflicts = typioca
source = git+https://github.com/bloznelis/typioca
source = git+https://github.com/bloznelis/typioca#tag=${PKGVER}
sha256sums = SKIP

pkgname = typioca-git
9 changes: 2 additions & 7 deletions .github/aur/PKGBUILD.template
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,12 @@ url="https://github.com/bloznelis/typioca"
license=(MIT)
groups=()
depends=()
makedepends=(git make go)
makedepends=(go)
provides=("$name")
conflicts=("$name")
source=("git+$url")
source=("git+$url#tag=$pkgver")
sha256sums=('SKIP')

pkgver() {
cd "$srcdir/$name"
printf "%s" "$(git describe --abbrev=0 --tags)"
}

build() {
cd "$srcdir/$name"
make VERSION=$pkgver build
Expand Down

0 comments on commit 81fd86d

Please sign in to comment.