diff options
author | Carlos Aznarán Laos | 2022-01-23 13:52:47 -0500 |
---|---|---|
committer | Carlos Aznarán Laos | 2022-01-23 13:52:47 -0500 |
commit | ff64b3333d773c38db8549b113f59de90074fb74 (patch) | |
tree | 502725ca2275e43a8f265e49875e01995263f729 | |
parent | c885325fdc0b918bfe39769fcbc25bdc5560ac8d (diff) | |
download | aur-ff64b3333d773c38db8549b113f59de90074fb74.tar.gz |
Update upstream URL
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 52 |
2 files changed, 31 insertions, 32 deletions
@@ -1,20 +1,17 @@ -# Generated by mksrcinfo v8 -# Thu Dec 29 06:13:29 UTC 2016 pkgbase = octave-secs3d pkgdesc = A Drift-Diffusion simulator for 3d semiconductor devices pkgver = 0.0.1 pkgrel = 3 - url = http://octave.sourceforge.net/secs3d/ + url = https://octave.sourceforge.io/secs3d install = octave-secs3d.install arch = any groups = octave-forge - license = GPL + license = GPL2 depends = octave>=3.2.4 depends = octave-bim depends = octave-fpl noextract = secs3d-0.0.1.tar.gz - source = http://downloads.sourceforge.net/octave/secs3d-0.0.1.tar.gz - md5sums = 31320bb5b1bfddf0609af961407b8c1e + source = https://downloads.sourceforge.net/octave/secs3d-0.0.1.tar.gz + sha512sums = 381e6bd898f94d0017041c368ff3cb97da93ac6eb2d42d830abbe7a183fbc79f18a0ef9a50b6b0f759489f1fdd2ea32eb465c5ab35b8d35b76f50ca3f9228525 pkgname = octave-secs3d - @@ -1,6 +1,7 @@ # -# Maintainer: Clemens Buchacher <drizzd@aon.at> -# Contributor: wangjiezhe <wangjiezhe AT yandex DOT com> +# 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 @@ -8,52 +9,53 @@ # _pack=secs3d -pkgname=octave-$_pack +pkgname=octave-${_pack} pkgver=0.0.1 pkgrel=3 pkgdesc="A Drift-Diffusion simulator for 3d semiconductor devices" arch=(any) -url="http://octave.sourceforge.net/$_pack/" -license=('GPL') +url="https://octave.sourceforge.io/${_pack}" +license=('GPL2') groups=('octave-forge') depends=('octave>=3.2.4' 'octave-bim' 'octave-fpl') makedepends=() optdepends=() backup=() options=() -install=$pkgname.install -_archive=$_pack-$pkgver.tar.gz -source=("http://downloads.sourceforge.net/octave/$_archive") -noextract=("$_archive") -md5sums=('31320bb5b1bfddf0609af961407b8c1e') +install=${pkgname}.install +_archive=${_pack}-${pkgver}.tar.gz +source=("https://downloads.sourceforge.net/octave/${_archive}") +noextract=("${_archive}") +sha512sums=('381e6bd898f94d0017041c368ff3cb97da93ac6eb2d42d830abbe7a183fbc79f18a0ef9a50b6b0f759489f1fdd2ea32eb465c5ab35b8d35b76f50ca3f9228525') _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" } |