gri: fix pkg version to 2.12.27

This commit is contained in:
bipin kumar 2024-04-08 14:12:13 +05:30
parent 4fe9865352
commit ffc555e881
No known key found for this signature in database
GPG key ID: C67233497C15E476
2 changed files with 18 additions and 4 deletions

View file

@ -4,7 +4,7 @@
# Contributor: big_gie nbigaouette . at . gmail.com
pkgname=gri
pkgver=20240405.101042
pkgver=2.12.27
pkgrel=1
pkgdesc="A script-based language for scientific graphics programming"
arch=('i686' 'x86_64')
@ -12,10 +12,16 @@ license=('GPL')
url="http://gri.sourceforge.net/"
depends=('perl' 'netcdf')
makedepends=('ghostscript' 'netcdf' 'imagemagick' 'texlive-core' 'perl-perl4-corelibs' 'git')
source=('gri::git+https://github.com/dankelley/gri.git#commit=d9969d1')
md5sums=('fbe0f86bd394f679acab9d296f5e05d2')
source=('gri::git+https://github.com/dankelley/gri.git')
md5sums=('SKIP')
options=('!makeflags')
pkgver() {
cd "$pkgname"
awk 'NR==2 {print}' configure.ac | sed -e 's/.* \([0-9.]*\).*/\1/'
# git describe --long --abbrev=7 | sed 's/^v-//;s/\([^-]*-g\)/r\1/;s/-/./g' | sed 's/^v//'
}
prepare() {
cd $pkgname
aclocal

View file

@ -7,6 +7,14 @@ pre_build_script: |
post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
update_on:
- source: github
github: dankelley/gri
github: dankelley/gri
use_max_tag: true
prefix: 'v'
update_on:
- source: manual
manual: 2.12.27
time_limit_hours: 1