diff options
author | Dr-Noob | 2021-08-23 21:18:07 +0200 |
---|---|---|
committer | Dr-Noob | 2021-08-23 21:18:07 +0200 |
commit | 808921aa4c7e068e079daf4cd0804d4cea7e96f0 (patch) | |
tree | 8ec85d7a165bc4f681c4b048e173588a66d0cefe /PKGBUILD | |
parent | 095f0f348e42318c378f80f6767f08bea01f4696 (diff) | |
download | aur-peakperf-git.tar.gz |
Update package. Fix man page path. Fix missing package cuda-tools
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1,9 +1,9 @@ # Maintainer: Dr-Noob <peibolms at gmail dot com> _name=peakperf pkgname="$_name-git" -pkgver=v1.4.r0.g60ded32 +pkgver=1.15.r1.g9c8ede7 pkgrel=1 -pkgdesc="Microbenchmark to achieve peak performance on x86_64 CPUs and NVIDIA GPUs" +pkgdesc="Achieve peak performance on x86 CPUs and NVIDIA GPUs" arch=('x86_64') provides=(${pkgname%-*}=$pkgver) conflicts=(${pkgname%-*}) @@ -11,13 +11,14 @@ url="https://github.com/Dr-Noob/peakperf" license=('MIT') depends=('glibc' 'gcc-libs') makedepends=('git' 'cmake' 'make') -optdepends=('cuda: GPU mode support') +optdepends=('cuda: GPU mode support' + 'cuda-tools: GPU mode support') source=("git+https://github.com/Dr-Noob/peakperf") md5sums=('SKIP') pkgver() { cd "$srcdir/$_name" - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { @@ -36,5 +37,5 @@ package() { cd "$srcdir/$_name" DESTDIR="$pkgdir" make -C build install install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - install -Dm644 "peakperf.8" "$pkgdir/usr/share/man/man8/peakperf.8.gz" + install -Dm644 "peakperf.1" "$pkgdir/usr/share/man/man1/peakperf.1.gz" } |