diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-09-06 15:07:04 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-09-06 15:07:04 -0300 |
commit | d0e3b0478991169741d0d6bc1a5b7b880c48ff94 (patch) | |
tree | 3d1b8c5a205e1fac3aaafa068abf3110da499dc5 /libre/abs-libre/PKGBUILD | |
parent | 9088da5f2dc47ac8fb7b6a7add6bd6d970e97cfd (diff) | |
download | abslibre-d0e3b0478991169741d0d6bc1a5b7b880c48ff94.tar.gz abslibre-d0e3b0478991169741d0d6bc1a5b7b880c48ff94.tar.bz2 abslibre-d0e3b0478991169741d0d6bc1a5b7b880c48ff94.zip |
libre/abs-libre-2.4.3-2
Diffstat (limited to 'libre/abs-libre/PKGBUILD')
-rw-r--r-- | libre/abs-libre/PKGBUILD | 24 |
1 files changed, 16 insertions, 8 deletions
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 } |