summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoracxz2021-10-04 11:32:11 -0400
committeracxz2021-10-04 11:32:11 -0400
commitca71e6cb17e25b79051bd276d0fdad0d06965ef9 (patch)
treed5cb0f15bbdd502a156cbf0c5dfdad386a9e0c4b
parent3d6b0b67651d92c32e3294ac8fcaa72666e4695d (diff)
downloadaur-ca71e6cb17e25b79051bd276d0fdad0d06965ef9.tar.gz
updpkg 2.2.0
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD21
2 files changed, 8 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5cfda884ed5e..0df1ab8291fc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,11 @@
pkgbase = half
pkgdesc = Half-precision floating-point library
- pkgver = 2.1.0
- pkgrel = 3
+ pkgver = 2.2.0
+ pkgrel = 1
url = http://half.sourceforge.net/
arch = x86_64
license = MIT
- source = half-2.1.0.zip::https://sourceforge.net/projects/half/files/half/2.1.0/half-2.1.0.zip/download
- source = f16c_fix.patch
- sha256sums = ad1788afe0300fa2b02b0d1df128d857f021f92ccf7c8bddd07812685fa07a25
- sha256sums = 2f55340a7e2f654487a0ce6467068a142e00a1fa10a118c859a3cdba6070d8c6
+ source = half-2.2.0.zip::https://sourceforge.net/projects/half/files/half/2.2.0/half-2.2.0.zip/download
+ sha256sums = 1d1d9e482fb95fcd7cab0953a4bd35e00b86578f11cb6939a067811a055a563b
pkgname = half
-
diff --git a/PKGBUILD b/PKGBUILD
index 507665641ff1..8ccc16456b28 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,15 @@
# Maintainer: acxz <akashpatel2008 at yahoo dot com>
pkgname=half
-pkgver=2.1.0
-pkgrel=3
+pkgver=2.2.0
+pkgrel=1
pkgdesc="Half-precision floating-point library"
url="http://half.sourceforge.net/"
arch=(x86_64)
license=('MIT')
makedepends=()
depends=()
-source=(
- "${pkgname}-${pkgver}.zip::https://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.zip/download"
- "f16c_fix.patch"
-)
-sha256sums=(
- "ad1788afe0300fa2b02b0d1df128d857f021f92ccf7c8bddd07812685fa07a25"
- "2f55340a7e2f654487a0ce6467068a142e00a1fa10a118c859a3cdba6070d8c6"
-)
-
-prepare() {
- # Fix a bug in the half.hpp include file not enabling F16C intrinsics
- # correctly when the architecture supports it
- # https://github.com/acxz/pkgbuilds/issues/94
- patch -p0 ${srcdir}/include/half.hpp < f16c_fix.patch
-}
+source=("${pkgname}-${pkgver}.zip::https://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.zip/download")
+sha256sums=("1d1d9e482fb95fcd7cab0953a4bd35e00b86578f11cb6939a067811a055a563b")
package() {
mkdir -p ${pkgdir}/usr/include/half