Skip to content

Commit

Permalink
Fix openal build
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkwouter authored Jan 22, 2025
1 parent e663f4f commit f1390c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions openal/PSPBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ source=("https://github.com/illteteka/openal-soft-psp/archive/refs/tags/${pkgver
sha256sums=('2dd94abc457906203c03e87fd2c513077bde0d7344b377f09ec535f3b7cb0a91')

prepare() {
cd $pkgname-soft-psp-$pkgver.${pkgrel}
cd $pkgname-soft-psp-$pkgver
sed -i 's#@prefix@#${PSPDEV}/psp#' openal.pc.in
sed -i 's#@exec_prefix@#${prefix}#' openal.pc.in
sed -i 's#@libdir@#${prefix}/lib#' openal.pc.in
Expand All @@ -24,12 +24,12 @@ prepare() {
}

build() {
cd $pkgname-soft-psp-$pkgver.${pkgrel}
cd $pkgname-soft-psp-$pkgver
make --quiet $MAKEFLAGS || { exit 1; }
}

package () {
cd $pkgname-soft-psp-$pkgver.${pkgrel}
cd $pkgname-soft-psp-$pkgver
mkdir -m 755 -p "$pkgdir/psp/lib" "$pkgdir/psp/include/AL" "$pkgdir/psp/include/OpenAL"
install -m 644 libopenal.a "$pkgdir/psp/lib/libopenal.a"
install -m 644 src/include/AL/*.h "$pkgdir/psp/include/AL/"
Expand All @@ -40,4 +40,4 @@ package () {

mkdir -m 755 -p "$pkgdir/psp/lib/pkgconfig"
install -m 644 openal.pc.in "$pkgdir/psp/lib/pkgconfig/openal.pc"
}
}

0 comments on commit f1390c6

Please sign in to comment.