garli: fix pkgver, use the original source

This commit is contained in:
Kuoi 2022-08-28 11:49:21 +01:00
parent 0a120bcfc6
commit b4f21f3b82
2 changed files with 13 additions and 10 deletions

View file

@ -3,15 +3,15 @@ pkgver=2.1
pkgrel=1
pkgdesc="Phylogenetic analysis of molecular sequence data using the maximum-likelihood criterion"
arch=('x86_64')
url="https://github.com/Ashod/garli"
license=('GPL')
url="https://github.com/zwickl/garli"
license=('GPL2')
depends=('gcc-libs' 'ncl')
makedepends=('make' 'autoconf')
source=("$url/archive/refs/tags/$pkgver-release.tar.gz")
makedepends=('make' 'autoconf' 'git')
source=("git+$url.git")
sha256sums=('SKIP')
build() {
cd "$srcdir/$pkgname-$pkgver-release"
cd "$srcdir/$pkgname/$pkgname/tags/$pkgver-release"
aclocal -I config
autoheader
automake --add-missing
@ -21,6 +21,6 @@ build() {
}
package() {
cd "$srcdir/$pkgname-$pkgver-release"
cd "$srcdir/$pkgname/$pkgname/tags/$pkgver-release"
make DESTDIR="$pkgdir" install
}

View file

@ -2,11 +2,14 @@ build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
pre_build: |
update_pkgrel()
vcs_update
post_build: |
git_pkgbuild_commit()
update_on:
- source: github
github: Ashod/garli
use_max_tag: true
include_regex: (\d+.\d+)-release
- source: cmd
cmd: curl -sS https://github.com/zwickl/garli/tree/master/garli/tags | grep 'href="/zwickl/garli/tree/master/garli/tags' | grep '\-release' | sed 's/<span class="css-truncate css-truncate-target d-block width-fit"><a class="js-navigation-open Link--primary" title="/ /g' | sed 's/-release/ /g' | awk '{print $1}' | sort -r | head -n 1
- alias: alpm-lilac
alpm: ncl
strip_release: true