summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 4 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7e6d3af67cf..6c059e7e01e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = faudio-git
pkgdesc = Accuracy-focused XAudio reimplementation for open platforms
- pkgver = r979.a98be73
+ pkgver = r988.911edc7
pkgrel = 1
url = https://github.com/FNA-XNA/FAudio
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 968d847a378..94595d10292 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=faudio
_gitname=FAudio
pkgname=${_pkgname}-git
-pkgver=r979.a98be73
+pkgver=r988.911edc7
pkgrel=1
pkgdesc="Accuracy-focused XAudio reimplementation for open platforms"
arch=('i686' 'x86_64')
@@ -29,6 +29,8 @@ build() {
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_INSTALL_INCLUDEDIR=include/FAudio \
-DFFMPEG=ON
make
@@ -39,12 +41,6 @@ package() {
make install
- mkdir "${pkgdir}/usr/include/FAudio"
- mv "${pkgdir}/usr/include"/*.h "${pkgdir}/usr/include/FAudio"
-
- sed -i 's!"${_IMPORT_PREFIX}/include"!"${_IMPORT_PREFIX}/include/FAudio"!' \
- "${pkgdir}/usr/lib/cmake/FAudio/FAudio-targets.cmake"
-
install -D -m644 -t "${pkgdir}/usr/share/licenses/${_pkgname}" ../LICENSE
install -D -m644 -t "${pkgdir}/usr/lib/pkgconfig" ../../faudio.pc
}