From d0e3b0478991169741d0d6bc1a5b7b880c48ff94 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Tue, 6 Sep 2011 15:07:04 -0300 Subject: libre/abs-libre-2.4.3-2 --- libre/abs-libre/PKGBUILD | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 'libre/abs-libre/PKGBUILD') diff --git a/libre/abs-libre/PKGBUILD b/libre/abs-libre/PKGBUILD index 9f75a39ba..a9be5a541 100644 --- a/libre/abs-libre/PKGBUILD +++ b/libre/abs-libre/PKGBUILD @@ -3,10 +3,11 @@ _pkgname=abs pkgname=abs-libre +#CARCH=x86_64 pkgver=2.4.3 -pkgrel=1 +pkgrel=2 pkgdesc="Utilities to download and work with the Arch Build System (ABS)" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://projects.archlinux.org/abs.git/" license=('GPL') depends=('bash' 'rsync') @@ -25,13 +26,20 @@ build() { install -Dm0644 ${srcdir}/abs/README ${pkgdir}/var/abs/README sed -i -e 's|rsync.archlinux.org|parabolagnulinux.org|' ${pkgdir}/etc/abs.conf + sed -i -e 's|(core|(libre !libre-testing core|' ${pkgdir}/etc/abs.conf # make adjustments to abs.conf - if [[ $CARCH = "i686" ]]; then - sed -i -e 's| multilib||' -e 's| !multilib-testing||' ${pkgdir}/etc/abs.conf - fi - if [[ $CARCH = "x86_64" ]]; then - sed -i '/ARCH=/s|i686|x86_64|' ${pkgdir}/etc/abs.conf - fi + case $CARCH in + "i686") + sed -i -e 's| multilib||' -e 's| !multilib-testing||' ${pkgdir}/etc/abs.conf + ;; + "x86_64") + sed -i '/ARCH=/s|i686|x86_64|' ${pkgdir}/etc/abs.conf + ;; + "mips64el") + sed -i -e 's| multilib||' -e 's| !multilib-testing||' ${pkgdir}/etc/abs.conf + sed -i '/ARCH=/s|i686|mips64el|' ${pkgdir}/etc/abs.conf + ;; + esac } -- cgit v1.2.3-54-g00ecf