summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin C. Doege2020-12-29 13:30:01 +0100
committerMartin C. Doege2020-12-29 13:30:01 +0100
commit39fcd944bd7939f46de22f50e558eb805e705b99 (patch)
tree32a4984e39a7a2768448ca69a43aeccdfdd76e6b
parent0e0bf8dd5d5190bfcf3caac43fec37f8d505820e (diff)
downloadaur-39fcd944bd7939f46de22f50e558eb805e705b99.tar.gz
fix URL and checksum
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD10
2 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9b60f8a7ef89..a3a99ef4bf1a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = udunits
pkgdesc = A tool for calculations of physical quantities
pkgver = 2.2.28
- pkgrel = 1
+ pkgrel = 2
url = http://www.unidata.ucar.edu/software/udunits/
install = udunits.install
arch = i686
@@ -9,8 +9,8 @@ pkgbase = udunits
license = MIT
depends = expat
options = !libtool
- source = https://artifacts.unidata.ucar.edu/repository/downloads-udunits/udunits-2.2.28-Source.tar.gz
- sha256sums = 4cff332db4368c621998116603ad2d35cfd4a605e60a77e9a7270aed7d905711
+ source = https://artifacts.unidata.ucar.edu/repository/downloads-udunits/udunits-2.2.28.tar.gz
+ sha256sums = 590baec83161a3fd62c00efa66f6113cec8a7c461e3f61a5182167e0cc5d579e
pkgname = udunits
diff --git a/PKGBUILD b/PKGBUILD
index 51bf40afcd65..391ca9f65b73 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=udunits
pkgver=2.2.28
-pkgrel=1
+pkgrel=2
pkgdesc="A tool for calculations of physical quantities"
arch=('i686' 'x86_64')
url="http://www.unidata.ucar.edu/software/udunits/"
@@ -13,17 +13,17 @@ license=('MIT')
depends=('expat')
options=('!libtool')
install=udunits.install
-source=(https://artifacts.unidata.ucar.edu/repository/downloads-udunits/$pkgname-$pkgver-Source.tar.gz)
-sha256sums=('4cff332db4368c621998116603ad2d35cfd4a605e60a77e9a7270aed7d905711')
+source=(https://artifacts.unidata.ucar.edu/repository/downloads-udunits/$pkgname-$pkgver.tar.gz)
+sha256sums=('590baec83161a3fd62c00efa66f6113cec8a7c461e3f61a5182167e0cc5d579e')
build() {
- cd "$srcdir/$pkgname-$pkgver-Source"
+ cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --disable-static
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver-Source"
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
ln -s libudunits2.so "$pkgdir/usr/lib/libudunits.so"
ln -s libudunits2.so.0 "$pkgdir/usr/lib/libudunits.so.0"