diff options
author | haawda | 2021-04-18 12:08:17 +0200 |
---|---|---|
committer | haawda | 2021-04-18 12:08:17 +0200 |
commit | 8882b2ac1a1943561792358589d6f7d3a560ff6d (patch) | |
tree | 6cd6f4037f48bd067fd8aa542b19628b380062cc | |
parent | dce8196b36fd47732aee282dee492afbe9497c53 (diff) | |
download | aur-8882b2ac1a1943561792358589d6f7d3a560ff6d.tar.gz |
repome patch, add pkgver function
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 14 | ||||
-rw-r--r-- | inputencoding.patch | 24 |
3 files changed, 7 insertions, 36 deletions
@@ -1,6 +1,6 @@ pkgbase = gri-git pkgdesc = A script-based language for scientific graphics programming - pkgver = 2.12.26 + pkgver = 2.12.23.r20.gd9969d1 pkgrel = 1 url = http://gri.sourceforge.net/ arch = i686 @@ -14,11 +14,8 @@ pkgbase = gri-git depends = perl provides = gri conflicts = gri - options = !makeflags source = git+https://github.com/dankelley/gri.git - source = inputencoding.patch sha256sums = SKIP - sha256sums = b16d82db8958336fe0839c2aef30fd6fb8c75ea217c30e9ce64e06697b867abd pkgname = gri-git @@ -3,7 +3,7 @@ # Contributor: big_gie nbigaouette . at . gmail.com pkgname=gri-git -pkgver=2.12.26 +pkgver=2.12.23.r20.gd9969d1 pkgrel=1 pkgdesc="A script-based language for scientific graphics programming" arch=('i686' 'x86_64') @@ -13,16 +13,14 @@ depends=('perl') conflicts=('gri') provides=('gri') makedepends=('git' 'ghostscript' 'imagemagick' 'texlive-core' 'perl-perl4-corelibs') -source=("git+https://github.com/dankelley/gri.git" inputencoding.patch) -sha256sums=('SKIP' - 'b16d82db8958336fe0839c2aef30fd6fb8c75ea217c30e9ce64e06697b867abd') -options=('!makeflags') +source=("git+https://github.com/dankelley/gri.git") +sha256sums=('SKIP') -prepare() { +pkgver() { cd ${pkgname%-git} - git apply "$srcdir"/inputencoding.patch + git describe --tags | sed 's+-+.r+' | tr - . | cut -c2- } - + build() { cd ${pkgname%-git} aclocal diff --git a/inputencoding.patch b/inputencoding.patch deleted file mode 100644 index 946e9a9432a9..000000000000 --- a/inputencoding.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/doc/gri.texi b/doc/gri.texi -index 657b02c..3d8df74 100644 ---- a/doc/gri.texi -+++ b/doc/gri.texi -@@ -19277,7 +19277,7 @@ Cody Kirkpatrick, - Thomas Larsen, - @cindex Thomas Larsen (contributor) - @cindex contributor, Thomas Larsen --Alejandro López-Valencia, -+Alejandro Lopez-Valencia, - @cindex Alejandro Lopez-Valencia (contributor) - @cindex contributor, Alejandro Lopez-Valencia - Kawamura Masao, -diff --git a/doc/version.texi b/doc/version.texi -index d33a646..7bd77d5 100644 ---- a/doc/version.texi -+++ b/doc/version.texi -@@ -1,4 +1,4 @@ --@set UPDATED 31 January 2017 --@set UPDATED-MONTH January 2017 -+@set UPDATED 17 November 2019 -+@set UPDATED-MONTH November 2019 - @set EDITION 2.12.26 - @set VERSION 2.12.26 |