diff options
author | Carlos Aznarán Laos | 2022-01-23 13:48:37 -0500 |
---|---|---|
committer | Carlos Aznarán Laos | 2022-01-23 13:48:37 -0500 |
commit | bb23767a7683efb132156cdec8a02533c539c51e (patch) | |
tree | 21c0729dc87a02b8f0d6e59fa0aa9bf829b7f69e | |
parent | 6c5b681d7fe0f66b70f3205f44ba3594737fd1e5 (diff) | |
download | aur-bb23767a7683efb132156cdec8a02533c539c51e.tar.gz |
Update upstream URL
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 51 |
2 files changed, 30 insertions, 28 deletions
@@ -1,8 +1,8 @@ pkgbase = octave-fpl - pkgdesc = Collection of routines to export data produced by Finite Elements or Finite Volume Simulations in formats used by some visualization programs. + pkgdesc = Collection of routines to export data produced by Finite Elements or Finite Volume Simulations in formats used by some visualization programs pkgver = 1.3.5 pkgrel = 3 - url = https://octave.sourceforge.net/fpl/ + url = https://octave.sourceforge.io/fpl install = octave-fpl.install arch = any groups = octave-forge @@ -10,7 +10,6 @@ pkgbase = octave-fpl depends = octave>=3.2.3 noextract = fpl-1.3.5.tar.gz source = https://downloads.sourceforge.net/octave/fpl-1.3.5.tar.gz - sha256sums = da13b8044e0ffb91f488427c4d3f3fdefb8d208753f572ef4d3b53972c547731 + sha512sums = 0d49fa779122d595c09f634f818d426c3a19d0122b1af96edd1d4af6b0487595bfb13cf0fedfd05b3c8c500c871dbe0acd0a52a997ec8a4bba7192b291599021 pkgname = octave-fpl - @@ -1,5 +1,7 @@ # -# Maintainer: Clemens Buchacher <drizzd@aon.at> +# Maintainer: Carlos Aznarán <caznaranl@uni.pe> +# Contributor: wangjiezhe <wangjiezhe@gmail.com> +# Contributor: Clemens Buchacher <drizzd@aon.at> # # You can use the newpkg script from # https://github.com/drizzd/octave-forge-archlinux to automatically generate @@ -7,12 +9,12 @@ # _pack=fpl -pkgname=octave-$_pack +pkgname=octave-${_pack} pkgver=1.3.5 pkgrel=3 -pkgdesc="Collection of routines to export data produced by Finite Elements or Finite Volume Simulations in formats used by some visualization programs." +pkgdesc="Collection of routines to export data produced by Finite Elements or Finite Volume Simulations in formats used by some visualization programs" arch=(any) -url="https://octave.sourceforge.net/$_pack/" +url="https://octave.sourceforge.io/${_pack}" license=('GPL3') groups=('octave-forge') depends=('octave>=3.2.3') @@ -20,39 +22,40 @@ makedepends=() optdepends=() backup=() options=() -install=$pkgname.install -_archive=$_pack-$pkgver.tar.gz -source=("https://downloads.sourceforge.net/octave/$_archive") -noextract=("$_archive") -sha256sums=('da13b8044e0ffb91f488427c4d3f3fdefb8d208753f572ef4d3b53972c547731') +install=${pkgname}.install +_archive=${_pack}-${pkgver}.tar.gz +source=("https://downloads.sourceforge.net/octave/${_archive}") +noextract=("${_archive}") +sha512sums=('0d49fa779122d595c09f634f818d426c3a19d0122b1af96edd1d4af6b0487595bfb13cf0fedfd05b3c8c500c871dbe0acd0a52a997ec8a4bba7192b291599021') _octave_run() { - octave --no-history --no-init-file --no-window-system -q -f --eval "$*" + octave --no-history --no-init-file --no-window-system -q -f --eval "$*" } _install_dir() { - src=$1 - dst=$2 - mkdir -p "$(dirname "$dst")" - cp -rT "$src" "$dst" + src=$1 + dst=$2 + mkdir -p "$(dirname "$dst")" + cp -rT "$src" "$dst" } build() { - _prefix="$srcdir"/install_prefix - _archprefix="$srcdir"/install_archprefix - mkdir -p "$_prefix" "$_archprefix" - cd "$srcdir" - _octave_run "$(cat <<-EOF + _prefix="$srcdir"/install_prefix + _archprefix="$srcdir"/install_archprefix + mkdir -p "$_prefix" "$_archprefix" + cd "$srcdir" + _octave_run "$( + cat <<-EOF pkg local_list octave_packages; pkg prefix $_prefix $_archprefix; pkg install -verbose -nodeps $_archive; EOF - )" + )" } package() { - prefix=$pkgdir/usr/share/octave/packages - archprefix=$pkgdir/usr/lib/octave/packages - _install_dir "$srcdir"/install_prefix "$prefix" - _install_dir "$srcdir"/install_archprefix "$archprefix" + prefix=$pkgdir/usr/share/octave/packages + archprefix=$pkgdir/usr/lib/octave/packages + _install_dir "$srcdir"/install_prefix "$prefix" + _install_dir "$srcdir"/install_archprefix "$archprefix" } |