summaryrefslogtreecommitdiff
path: root/libre/pacman/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/pacman/PKGBUILD')
-rw-r--r--libre/pacman/PKGBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/libre/pacman/PKGBUILD b/libre/pacman/PKGBUILD
index 33ea3f364..bccfb3d82 100644
--- a/libre/pacman/PKGBUILD
+++ b/libre/pacman/PKGBUILD
@@ -19,13 +19,15 @@ source=(ftp://ftp.archlinux.org/other/pacman/$pkgname-$pkgver.tar.gz
pacman.conf
pacman.conf.x86_64
pacman.conf.mips64el
- makepkg.conf)
+ makepkg.conf
+ makepkg.conf.mips64el)
md5sums=('b4f1fdbc17100923071ebe8fe9377be5'
'c7e6dbee04b7c492febea4366519b91d'
'8809642ed398d2b9b98c5974b8b5e348'
'3b2e740853e3d1463885675809d4c6ff'
- 'a8684989d3dfad5a6e1bcf95af3e571b')
+ 'a8684989d3dfad5a6e1bcf95af3e571b'
+ 'c1ddddc5cbd1273eafcf1d858c100de0')
# keep an upgrade path for older installations
PKGEXT='.pkg.tar.gz'
@@ -63,7 +65,11 @@ package() {
myflags="-O2 -march=loongson2f -mabi=n32 -pipe -mplt -Wa,-mfix-loongson2f-nop "
;;
esac
- install -m644 $srcdir/makepkg.conf $pkgdir/etc/
+ if [ $CARCH = mips64el ]; then
+ install -m644 $srcdir/makepkg.conf.mips64el $pkgdir/etc/makepkg.conf
+ else
+ install -m644 $srcdir/makepkg.conf $pkgdir/etc/
+ fi
# set things correctly in the default conf file
sed -i $pkgdir/etc/makepkg.conf \
-e "s|@CARCH[@]|$mycarch|g" \