diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 23 insertions, 28 deletions
@@ -1,18 +1,18 @@ # Generated by mksrcinfo v8 -# Fri Jun 1 13:12:28 UTC 2018 +# Sun Mar 21 19:17:26 UTC 2021 pkgbase = getver - pkgdesc = Find the latest package versions - pkgver = 0.52 - pkgrel = 2 - url = https://github.com/xyproto/getver/ + pkgdesc = Guess the latest upstream version of a given PKGBUILD + pkgver = 0.6.1 + pkgrel = 1 + url = https://github.com/xyproto/getver arch = x86_64 license = MIT makedepends = git makedepends = go depends = pacman-contrib depends = setconf - source = git+https://github.com/xyproto/getver.git#tag=0.52 - md5sums = SKIP + source = git+https://github.com/xyproto/getver.git#commit=23b14cfe5ba12eb902c9191ede04ad18eba9dd94 + sha256sums = SKIP pkgname = getver @@ -1,35 +1,30 @@ -# Maintainer: Alexander F Rødseth <xyproto@archlinux.org> +# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org> pkgname=getver -pkgver=0.52 -pkgrel=2 -pkgdesc='Find the latest package versions' -arch=('x86_64') -url='https://github.com/xyproto/getver/' -license=('MIT') -makedepends=('git' 'go') -depends=('pacman-contrib' 'setconf') -source=("git+https://github.com/xyproto/getver.git#tag=$pkgver") -md5sums=('SKIP') +pkgver=0.6.1 +pkgrel=1 +pkgdesc='Guess the latest upstream version of a given PKGBUILD' +arch=(x86_64) +url='https://github.com/xyproto/getver' +license=(MIT) +makedepends=(git go) +depends=(pacman-contrib setconf) +source=("git+https://github.com/xyproto/getver.git#commit=23b14cfe5ba12eb902c9191ede04ad18eba9dd94") # tag: v0.6.1 +sha256sums=('SKIP') build() { - cd "$pkgname" - - go build + cd $pkgname + go build -mod=vendor -gcflags "all=-trimpath=${PWD}" -asmflags "all=-trimpath=${PWD}" -ldflags "-extldflags ${LDFLAGS}" } package() { - cd "$pkgname" - - install -Dm644 "$pkgname.1" "$pkgdir/usr/share/man/man1/$pkgname.1" + cd $pkgname + install -Dm644 $pkgname.1 "$pkgdir/usr/share/man/man1/$pkgname.1" install -d "$pkgdir/usr/bin" - install -m755 "$pkgname" "$pkgdir/usr/bin/$pkgname" + install -m755 $pkgname "$pkgdir/usr/bin/$pkgname" install -m755 "scripts/bumpver.sh" "$pkgdir/usr/bin/bumpver" install -m755 "scripts/bumprel.sh" "$pkgdir/usr/bin/bumprel" install -m755 "scripts/vup.sh" "$pkgdir/usr/bin/vup" install -m755 "scripts/geturlver.sh" "$pkgdir/usr/bin/geturlver" install -m755 "scripts/allversions.sh" "$pkgdir/usr/bin/allversions" } - -# vim: ts=2 sw=2 et: -# getver: raw.githubusercontent.com/xyproto/getver/master/README.md |