diff options
author | Valerii Huz | 2020-03-06 12:12:00 +0200 |
---|---|---|
committer | Valerii Huz | 2020-03-06 12:12:00 +0200 |
commit | 141a05fbfb6f20c01a4fd261ec0c77fa64bd1581 (patch) | |
tree | cbdef591e4d7c74efcfb949db4cb7239fa22480e | |
download | aur-141a05fbfb6f20c01a4fd261ec0c77fa64bd1581.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..94452e2c807c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = openblas-cblas-git + pkgdesc = An optimized BLAS library based on GotoBLAS2 1.13 BSD + pkgver = 1 + pkgrel = 1 + url = http://www.openblas.net/ + arch = any + license = BSD + makedepends = perl + makedepends = gcc-fortran + makedepends = git + depends = gcc-libs + provides = blas=3.5.0 + provides = openblas + provides = cblas + conflicts = blas + conflicts = openblas + conflicts = cblas + options = !makeflags + options = !emptydirs + source = OpenBLAS::git+https://github.com/xianyi/OpenBLAS.git + md5sums = SKIP + +pkgname = openblas-cblas-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9585eac390ca --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Valerii Huz <ghotrix _AT_ gmail _DOT_ com> +pkgname=openblas-cblas-git +_pkgname=OpenBLAS +pkgver=1 +pkgrel=1 +pkgdesc="An optimized BLAS library based on GotoBLAS2 1.13 BSD " +arch=('any') +url="http://www.openblas.net/" +license=('BSD') +depends=('gcc-libs') +makedepends=('perl' 'gcc-fortran' 'git') +provides=('blas=3.5.0' 'openblas' 'cblas') +conflicts=('blas' 'openblas' 'cblas') +options=(!makeflags !emptydirs) +source=($_pkgname::git+https://github.com/xianyi/OpenBLAS.git) +md5sums=('SKIP') + +pkgver() { + cd "$_pkgname" + git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd "$srcdir/$_pkgname" + make +} + +package() { + cd "$srcdir/$_pkgname" + + make PREFIX="$pkgdir/usr" install + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: |