diff options
author | wangjiezhe | 2015-10-19 16:29:20 +0800 |
---|---|---|
committer | wangjiezhe | 2015-10-19 16:29:20 +0800 |
commit | cf86ca3e7e93bc09b5eef63151958c1659d830f4 (patch) | |
tree | 69aabcff44ea757b4ab8ad6d869b0f18d3b92d2e /PKGBUILD | |
download | aur-cf86ca3e7e93bc09b5eef63151958c1659d830f4.tar.gz |
Initial commit
librsb 1.2.0_rc1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a57c17ec976c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: wangjiezhe <wangjiezhe AT yandex AT com> + +pkgname=librsb +pkgver=1.2.0_rc1 +pkgrel=2 +pkgdesc="A shared memory parallel sparse matrix library including Sparse BLAS." +arch=('any') +url="http://sourceforge.net/projects/librsb" +license=('LGPL3') +depends=() +makedepends=() +optdepends=() +options=() +source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver//_/-}.tar.gz" + "http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver//_/-}.tar.gz.asc") +md5sums=('5bfb61596f16b860e8294b3ac2d06d5c' + 'SKIP') +validpgpkeys=('1DBB555AEA359B8AAF0C6B88E0E669C8EF1258B8') + +prepare() { + cd "${pkgname}-${pkgver//_/-}" + sed -i "s/CC -V/CC -v/g" configure aclocal.m4 + sed -i 's/{CC} -V/{CC} -v/g' configure configure.ac +} + +build() { + cd "${pkgname}-${pkgver//_/-}" + ./configure --prefix=/usr \ + CFLAGS='-fPIC -g -O2' + make +} + +check() { + cd "${pkgname}-${pkgver//_/-}" + make -k check +} + +package() { + cd "${pkgname}-${pkgver//_/-}" + make DESTDIR="${pkgdir}/" install +} |