summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsL1pKn072018-05-25 16:18:21 +0200
committersL1pKn072018-05-25 16:18:21 +0200
commit4054b751b2f7adbb7dc4cde823e342090da3a3e0 (patch)
treecafbaffe95cefe3020554c513db2cebfe2385417
parent31e7052ee81465173e179a282a7f804cfe5c152b (diff)
downloadaur-4054b751b2f7adbb7dc4cde823e342090da3a3e0.tar.gz
Update to 0.3.0
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD34
2 files changed, 31 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1a831d38a0b..1dc59a58084 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Thu Apr 12 15:02:05 UTC 2018
+# Fri May 25 14:18:08 UTC 2018
pkgbase = libopenblas
pkgdesc = An optimized BLAS library based on GotoBLAS2 1.13 BSD
- pkgver = 0.2.20
- pkgrel = 2
+ pkgver = 0.3.0
+ pkgrel = 1
url = http://www.openblas.net
arch = x86_64
license = BSD
@@ -11,8 +11,8 @@ pkgbase = libopenblas
makedepends = gcc-fortran
depends = gcc-libs
options = !emptydirs
- source = OpenBLAS-v0.2.20.tar.gz::http://github.com/xianyi/OpenBLAS/archive/v0.2.20.tar.gz
- sha256sums = 5ef38b15d9c652985774869efd548b8e3e972e1e99475c673b25537ed7bcf394
+ source = OpenBLAS-v0.3.0.tar.gz::http://github.com/xianyi/OpenBLAS/archive/v0.3.0.tar.gz
+ sha256sums = cf51543709abe364d8ecfb5c09a2b533d2b725ea1a66f203509b21a8e9d8f1a1
pkgname = libopenblas
diff --git a/PKGBUILD b/PKGBUILD
index 56263ed7947..95644779ee1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,8 @@
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
pkgname=libopenblas
-_pkgname=OpenBLAS
-pkgver=0.2.20
-pkgrel=2
+pkgver=0.3.0
+pkgrel=1
pkgdesc="An optimized BLAS library based on GotoBLAS2 1.13 BSD"
arch=('x86_64')
url='http://www.openblas.net'
@@ -12,20 +11,36 @@ depends=('gcc-libs')
makedepends=('perl'
'gcc-fortran'
)
-source=("${_pkgname}-v${pkgver}.tar.gz::http://github.com/xianyi/OpenBLAS/archive/v${pkgver}.tar.gz")
-sha256sums=('5ef38b15d9c652985774869efd548b8e3e972e1e99475c673b25537ed7bcf394')
+source=("OpenBLAS-v${pkgver}.tar.gz::http://github.com/xianyi/OpenBLAS/archive/v${pkgver}.tar.gz")
+sha256sums=('cf51543709abe364d8ecfb5c09a2b533d2b725ea1a66f203509b21a8e9d8f1a1')
options=('!emptydirs')
+# prepare() {
+# mkdir -p build
+#
+# cd build
+# cmake ../"OpenBLAS-${pkgver}" \
+# -DCMAKE_BUILD_TYPE=None \
+# -DCMAKE_INSTALL_PREFIX=/usr \
+# -DCMAKE_INSTALL_LIBDIR=lib \
+# -DCMAKE_INSTALL_INCLUDEDIR=include/openblas
+#
+# }
+
build() {
- cd "${_pkgname}-${pkgver}"
+ cd "OpenBLAS-${pkgver}"
make \
- libs netlib shared
+ libs \
+ netlib \
+ shared
+
+# make -C build
}
package() {
- cd "${_pkgname}-${pkgver}"
+ cd "OpenBLAS-${pkgver}"
make \
PREFIX=/usr \
@@ -33,5 +48,8 @@ package() {
DESTDIR="${pkgdir}" \
install
+# make -C build DESTDIR="${pkgdir}" install
+
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+# install -Dm644 "OpenBLAS-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}