Commit 887ad74f authored by Jeff Huang's avatar Jeff Huang 🤔

[skip-ci] lib32-libmodplug: update to 0.8.9.0

parent 82c1aec4
Pipeline #4079 skipped
_pkgbasename=libmodplug
pkgname=lib32-${_pkgbasename}
pkgver=0.8.8.5
pkgrel=2
pkgver=0.8.9.0
pkgrel=1
pkgdesc="A MOD playing library (32 bit)"
arch=('x86_64')
url="http://modplug-xmms.sourceforge.net/"
license=('custom')
depends=('lib32-gcc-libs' $_pkgbasename=$pkgver)
makedepends=('gcc-multilib')
options=('!libtool')
source=("http://downloads.sourceforge.net/modplug-xmms/${_pkgbasename}-${pkgver}.tar.gz")
md5sums=('5f30241db109d647781b784e62ddfaa1')
depends=('lib32-gcc-libs' 'lib32-glibc' $_pkgbasename=$pkgver)
source=("https://downloads.sourceforge.net/modplug-xmms/${_pkgbasename}-${pkgver}.tar.gz")
sha256sums=('457ca5a6c179656d66c01505c0d95fafaead4329b9dbaa0f997d00a3508ad9de')
build() {
export CC='gcc -m32'
......@@ -24,7 +22,11 @@ build() {
package() {
cd "${srcdir}/${_pkgbasename}-${pkgver}"
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/{include,share,bin}
sed 's|includedir=${prefix}/include|includedir=${prefix}/include/libmodplug/|' -i "${pkgdir}"/usr/lib32/pkgconfig/libmodplug.pc
rm -rf "${pkgdir}"/usr/include
install -dm 755 "${pkgdir}"/usr/share/licenses
ln -s libmodplug "${pkgdir}"/usr/share/licenses/lib32-libmodplug
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment