diff options
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 18 insertions, 6 deletions
@@ -1,14 +1,15 @@ pkgbase = yarr-git pkgdesc = Self-hosted RSS reader with Vue.js front and Go/SQLite back. pkgver = v2.3.r41.g95ebbb9 - pkgrel = 4 + pkgrel = 2 url = https://github.com/nkanaev/yarr arch = any license = MIT makedepends = go makedepends = make makedepends = git - source = git+https://github.com/nkanaev/yarr.git#branch=main - sha1sums = SKIP + provides = yarr + source = git+https://github.com/nkanaev/yarr.git#branch=master + sha512sums = SKIP pkgname = yarr-git @@ -7,18 +7,29 @@ _outdir="_output/linux" pkgname="${_pkgname}-git" pkgver=v2.3.r41.g95ebbb9 -pkgrel=1 +pkgrel=2 pkgdesc="Self-hosted RSS reader with Vue.js front and Go/SQLite back." arch=("any") url="https://github.com/${_gitauthor}/${_pkgname}" license=("MIT") -source=("git+https://github.com/${_gitauthor}/${_pkgname}.git#branch=${_gitbranch}") +groups=() depends=() makedepends=("go" "make" "git") -sha1sums=("SKIP") +optdepends=() +provides=("${_pkgname%}") +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=("git+https://github.com/${_gitauthor}/${_pkgname}.git#branch=${_gitbranch}") +noextract=() +sha512sums=('SKIP') pkgver() { cd "$srcdir/$_pkgname" + # Use tags but fallback to revision ( set -o pipefail git describe --tags --long --abbrev=7 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)" |