summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin C. Doege2020-12-22 21:07:43 +0100
committerMartin C. Doege2020-12-22 21:07:43 +0100
commit1f228a601e0c07562d19116b5d13cf35629162b2 (patch)
treed661c09a815b7aefc2c4324f5f360ea2962f6653
parentd400d1d1eea380a9408d195ec7df997ad69ea735 (diff)
downloadaur-1f228a601e0c07562d19116b5d13cf35629162b2.tar.gz
2.2.28; source code uses HTTPS instead of FTP now
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD10
2 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d18b77672061..b6c7012f57d4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = udunits
pkgdesc = A tool for calculations of physical quantities
- pkgver = 2.2.26
+ pkgver = 2.2.28
pkgrel = 1
url = http://www.unidata.ucar.edu/software/udunits/
install = udunits.install
@@ -9,8 +9,8 @@ pkgbase = udunits
license = MIT
depends = expat
options = !libtool
- source = ftp://ftp.unidata.ucar.edu/pub/udunits/udunits-2.2.26.tar.gz
- sha256sums = 368f4869c9c7d50d2920fa8c58654124e9ed0d8d2a8c714a9d7fdadc08c7356d
+ source = https://artifacts.unidata.ucar.edu/repository/downloads-udunits/udunits-2.2.28-Source.tar.gz
+ sha256sums = 84107ce2e147870a8a2c9d1ea35e36ed8634a24252ae95782cc0c0494e772618
pkgname = udunits
diff --git a/PKGBUILD b/PKGBUILD
index fb591bed1580..2c94110fa9e6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
pkgname=udunits
-pkgver=2.2.26
+pkgver=2.2.28
pkgrel=1
pkgdesc="A tool for calculations of physical quantities"
arch=('i686' 'x86_64')
@@ -13,17 +13,17 @@ license=('MIT')
depends=('expat')
options=('!libtool')
install=udunits.install
-source=(ftp://ftp.unidata.ucar.edu/pub/$pkgname/$pkgname-$pkgver.tar.gz)
-sha256sums=('368f4869c9c7d50d2920fa8c58654124e9ed0d8d2a8c714a9d7fdadc08c7356d')
+source=(https://artifacts.unidata.ucar.edu/repository/downloads-udunits/$pkgname-$pkgver-Source.tar.gz)
+sha256sums=('84107ce2e147870a8a2c9d1ea35e36ed8634a24252ae95782cc0c0494e772618')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname-$pkgver-Source"
./configure --prefix=/usr --disable-static
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname-$pkgver-Source"
make DESTDIR="$pkgdir" install
ln -s libudunits2.so "$pkgdir/usr/lib/libudunits.so"
ln -s libudunits2.so.0 "$pkgdir/usr/lib/libudunits.so.0"