summaryrefslogtreecommitdiff
path: root/libre/abs-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/abs-libre/PKGBUILD')
-rw-r--r--libre/abs-libre/PKGBUILD24
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
}