summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2021-06-05 08:36:06 +0200
committerMichel Zou2021-06-05 08:36:06 +0200
commit7752dd1fc82b0fa13e1f281c3be1b89f6a71c3d0 (patch)
tree563ccce77e80f4b199552882855c2f95a1ecf41d
parent54d4068329fd501eb3e5f3eaf986a853cd84e62e (diff)
downloadaur-7752dd1fc82b0fa13e1f281c3be1b89f6a71c3d0.tar.gz
pkgname
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1785db5f80a..f35c83c56ce 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -8,7 +8,7 @@ pkgbase = hmat-oss16
makedepends = cmake
depends = cblas
depends = lapack
- provides = hmat-oss
+ provides = hmat-oss=1.6.1
conflicts = hmat-oss
source = https://github.com/jeromerobert/hmat-oss/archive/1.6.1.tar.gz
source = set_num_threads.patch
diff --git a/PKGBUILD b/PKGBUILD
index ee865e0aa21..b17f48b9ecf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,27 +7,27 @@ arch=('x86_64')
url="https://github.com/jeromerobert/hmat-oss"
depends=('cblas' 'lapack')
makedepends=('cmake')
-provides=('hmat-oss')
+provides=("hmat-oss=${pkgver}")
conflicts=('hmat-oss')
source=("https://github.com/jeromerobert/hmat-oss/archive/${pkgver}.tar.gz" set_num_threads.patch)
sha256sums=('1517be8bde1c06bd8bc42d95926c72d787af95fc3d37439c911a7cea3243d2ca' SKIP)
prepare() {
- cd $pkgname-$pkgver
+ cd hmat-oss-$pkgver
patch -p1 -i "$srcdir"/set_num_threads.patch
sed -i "s|-Werror ||g" CMakeLists.txt
}
build() {
- cd $pkgname-$pkgver
+ cd hmat-oss-$pkgver
cmake -DHMAT_GIT_VERSION=OFF -DCMAKE_INSTALL_PREFIX=/usr -DINSTALL_INCLUDE_DIR=/usr/include/hmat \
-DDISABLE_CLANG_FALSE_POSITIVES=0 -DCMAKE_CXX_FLAGS="-Wno-deprecated-declarations" .
make
}
package() {
- cd $pkgname-$pkgver
+ cd hmat-oss-$pkgver
make DESTDIR="$pkgdir" install
}