gri: fix dependencies and license identifier

This commit is contained in:
bipin kumar 2024-04-08 14:38:40 +05:30
parent ffc555e881
commit 9d2608a59b
No known key found for this signature in database
GPG key ID: C67233497C15E476

View file

@ -8,9 +8,9 @@ pkgver=2.12.27
pkgrel=1
pkgdesc="A script-based language for scientific graphics programming"
arch=('i686' 'x86_64')
license=('GPL')
license=('GPL-3.0-or-later')
url="http://gri.sourceforge.net/"
depends=('perl' 'netcdf')
depends=('perl' 'glibc' 'readline' 'gcc-libs' 'netcdf')
makedepends=('ghostscript' 'netcdf' 'imagemagick' 'texlive-core' 'perl-perl4-corelibs' 'git')
source=('gri::git+https://github.com/dankelley/gri.git')
md5sums=('SKIP')
@ -23,19 +23,19 @@ pkgver() {
}
prepare() {
cd $pkgname
cd "$pkgname"
aclocal
autoconf
automake --add-missing
}
build() {
cd $pkgname
cd "$pkgname"
CXXFLAGS+=" -fpermissive" ./configure --prefix=/usr
make
}
package() {
cd $pkgname
make DESTDIR=$pkgdir install
cd "$pkgname"
make DESTDIR="$pkgdir" install
}