summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bermond2017-06-11 23:20:01 -0300
committerDaniel Bermond2017-06-11 23:20:01 -0300
commit494327f071180eb529de592706c9058efe913e62 (patch)
treeeb7e05cf3de5afd7681eb831d397a5f3cf246b71
parentd2ffa88f6e646d2c34c939ac0335d60ee4f77245 (diff)
downloadaur-494327f071180eb529de592706c9058efe913e62.tar.gz
Removed the now unneeded workaround for 'CUnit.h'
bcunit-cunit-compat 3.0-2 had a packaging bug for 'CUnit.h' header file. It's now fixed in bcunit-cunit-compat 3.0-3.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 4 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d9f190f0ab0e..54d60c39ad76 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sat Jun 10 18:00:46 UTC 2017
+# Mon Jun 12 02:19:09 UTC 2017
pkgbase = libmysofa
pkgdesc = C library to read HRTFs if they are stored in the AES69-2015 SOFA format
pkgver = 0.4
- pkgrel = 1
+ pkgrel = 2
url = https://hoene.github.io/libmysofa/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 5a5145628577..b74c90bfe2b4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=libmysofa
pkgver=0.4
-pkgrel=1
+pkgrel=2
pkgdesc='C library to read HRTFs if they are stored in the AES69-2015 SOFA format'
arch=('i686' 'x86_64')
url='https://hoene.github.io/libmysofa/'
@@ -25,12 +25,7 @@ build() {
cd "${pkgname}-${pkgver}"
bsdtar -xf "${srcdir}/${pkgname}-${pkgver}.tar.gz" -s'|[^/]*/||'
- # replace 'CUnit.h' references for 'Cunit.h' (due to packaging of bcunit-cunit-compat)
- cd src/tests
- sed -i 's/CUnit\.h/Cunit\.h/' tests.c
- sed -i 's/CUnit\.h/Cunit\.h/' tests.h
-
- cd "${srcdir}/${pkgname}-${pkgver}/build"
+ cd build
cmake \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_COLOR_MAKEFILE:BOOL=ON \