diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1,8 +1,8 @@ # Maintainer: Daniel Bermond < yahoo-com: danielbermond > pkgname=libmysofa-git -pkgver=0.6.r3.g00c6e62 -pkgrel=2 +pkgver=0.6.r56.g5e1fc5b +pkgrel=1 pkgdesc='C library to read HRTFs if they are stored in the AES69-2015 SOFA format (git version)' arch=('i686' 'x86_64') url='https://hoene.github.io/libmysofa/' @@ -23,14 +23,15 @@ pkgver() { build() { cd "${pkgname}/build" + cmake \ -DBUILD_SHARED_LIBS:BOOL='ON' \ -DBUILD_TESTS:BOOL='OFF' \ - -DCMAKE_BUILD_TYPE:STRING='Release' \ - -DCMAKE_COLOR_MAKEFILE:BOOL='ON' \ + -DCMAKE_INSTALL_LIBDIR:PATH='lib' \ -DCMAKE_INSTALL_PREFIX:PATH='/usr' \ -Wno-dev \ .. + make all } @@ -39,5 +40,5 @@ package() { make DESTDIR="$pkgdir" install cd "${srcdir}/${pkgname}" - install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" } |