diff options
author | Daniel Bermond | 2020-02-22 02:44:00 +0000 |
---|---|---|
committer | Daniel Bermond | 2020-02-22 02:44:00 +0000 |
commit | e8427586f0c03b3a4f8e44666c2e8606f4085117 (patch) | |
tree | 393f0635648d1fe8637093b9bcedd3b97524865a | |
parent | e091e22b8056060f2cc6d7242f39d67abc610c5b (diff) | |
download | aur-e8427586f0c03b3a4f8e44666c2e8606f4085117.tar.gz |
Disable code coverage. Cosmetic changes.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 12 insertions, 23 deletions
@@ -1,8 +1,8 @@ pkgbase = libmysofa-git pkgdesc = C library to read HRTFs if they are stored in the AES69-2015 SOFA format (git version) - pkgver = 0.7.r10.g3dba53f + pkgver = 1.0.r15.gbaaa972 pkgrel = 1 - url = https://hoene.github.io/libmysofa/ + url = https://github.com/hoene/libmysofa/ arch = x86_64 license = BSD checkdepends = nodejs @@ -1,11 +1,11 @@ -# Maintainer: Daniel Bermond < gmail-com: danielbermond > +# Maintainer: Daniel Bermond <dbermond@archlinux.org> pkgname=libmysofa-git -pkgver=0.7.r10.g3dba53f +pkgver=1.0.r15.gbaaa972 pkgrel=1 pkgdesc='C library to read HRTFs if they are stored in the AES69-2015 SOFA format (git version)' arch=('x86_64') -url='https://hoene.github.io/libmysofa/' +url='https://github.com/hoene/libmysofa/' license=('BSD') depends=('zlib') makedepends=('git' 'cmake' 'cunit') @@ -17,35 +17,24 @@ sha256sums=('SKIP') pkgver() { cd libmysofa - - # git, tags available git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//' } build() { - cd libmysofa/build - - cmake \ + cmake -B libmysofa/build -S libmysofa \ -DBUILD_TESTS:BOOL='ON' \ -DCMAKE_INSTALL_LIBDIR:PATH='lib' \ -DCMAKE_INSTALL_PREFIX:PATH='/usr' \ - -Wno-dev \ - .. - - make all + -DCODE_COVERAGE:BOOL='OFF' \ + -Wno-dev + make -C libmysofa/build all } check() { - cd libmysofa/build - - make test + make -C libmysofa/build test } package() { - cd libmysofa/build - - make DESTDIR="$pkgdir" install - - cd "${srcdir}/libmysofa" - install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + make -C libmysofa/build DESTDIR="$pkgdir" install + install -D -m644 libmysofa/LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" } |