pacman: fix a path in libalpm.pc

It hardcodes the gcc path which isn't the same any more
This commit is contained in:
Christoph Reiter 2021-12-11 16:08:39 +01:00
parent 3d0fc59e9f
commit 8f0e5c06a3

View File

@ -4,7 +4,7 @@
pkgname=pacman
pkgver=6.0.1
pkgrel=7
pkgrel=8
pkgdesc="A library-based package manager with dependency support (MSYS2 port)"
arch=('i686' 'x86_64')
url="https://www.archlinux.org/pacman/"
@ -165,6 +165,9 @@ package() {
install -dm755 ${pkgdir}/etc
install -m644 ${srcdir}/pacman.conf ${pkgdir}/etc/pacman.conf
# Fixup .pc file
sed -i "s|/usr/.*libintl.a|-lintl|g" ${pkgdir}/usr/lib/pkgconfig/libalpm.pc
case "${CARCH}" in
i686)
mycarch="i686"