Skip to content

Commit

Permalink
Fix libmodplug.pc
Browse files Browse the repository at this point in the history
It had full paths in it.
  • Loading branch information
sharkwouter committed Jan 8, 2025
1 parent dd17a8c commit 3a2b2a7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion libmodplug/PSPBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=libmodplug
pkgver=0.8.8.5
pkgrel=2
pkgrel=3
pkgdesc="libmodplug - the library which was part of the Modplug-xmms project"
arch=('mips')
url="http://modplug-xmms.sf.net/"
Expand All @@ -17,6 +17,14 @@ sha256sums=(
"SKIP"
)

prepare() {
cd libmodplug
sed -i 's#@prefix@#${PSPDEV}/psp#' libmodplug.pc.in
sed -i 's#@exec_prefix@#${prefix}#' libmodplug.pc.in
sed -i 's#@libdir@#${prefix}/lib#' libmodplug.pc.in
sed -i '/configure_file/{s/)/ @ONLY)/;}' CMakeLists.txt
}

build() {
cd libmodplug
mkdir pspbuild
Expand Down

0 comments on commit 3a2b2a7

Please sign in to comment.