summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-10-04 18:49:08 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-10-04 18:49:08 -0300
commitef55d1f2bfecfdcf019dee9463402ea9e5d4d355 (patch)
treeb81da2d43d35d34f024f8f105ae22a417de720ae
parent304b04f31a2113937601f7fafe08de600d5545f8 (diff)
abs-2.4.4-2.parabola2: fix issue #588 -> https://labs.parabola.nu/issues/588
-rw-r--r--libre/abs/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/libre/abs/PKGBUILD b/libre/abs/PKGBUILD
index e9f313c9c..de26ac1ae 100644
--- a/libre/abs/PKGBUILD
+++ b/libre/abs/PKGBUILD
@@ -1,9 +1,13 @@
# $Id: PKGBUILD 215815 2014-06-30 16:27:03Z fyan $
# Maintainer (Arch): Allan McRae <allan@archlinux.org>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+# Contributor: Luke Shumaker <lukeshu@sbcglobal.net>
+# Contributor: Nicolás Reynolds <fauno@kiwwwi.com.ar>
+# Contributor: Aditya Som <icarious@hacari.org>
pkgname=abs
pkgver=2.4.4
-pkgrel=2.parabola1
+pkgrel=2.parabola2
pkgdesc="Utilities to download and work with the Arch Build System (ABS), with Parabola repos support"
arch=('i686' 'x86_64' 'mips64el')
url="http://projects.archlinux.org/abs.git/"
@@ -33,13 +37,13 @@ package() {
# make adjustments to abs.conf
sed -i -e 's|i686 or x86_64|i686, x86_64 or mips64el|' "${pkgdir}"/etc/abs.conf
- sed -i -e 's|rsync.archlinux.org|parabolagnulinux.org|' "${pkgdir}"/etc/abs.conf
+ sed -i -e 's|rsync.archlinux.org|repo.parabola.nu|' "${pkgdir}"/etc/abs.conf
+ sed -i -e 's|repo.parabola.nu["]|repo.parabola.nu"\nSYNCARGS="$SYNCARGS --port=875"|' "${pkgdir}"/etc/abs.conf
sed -i -e 's|(core|(libre !libre-testing core|' "${pkgdir}"/etc/abs.conf
- sed -i -e 's|!staging !community-staging !gnome-unstable !kde-unstable|!pcr !nonprism !kernels !cross !java !java-ugly !~smv !~xihh !~brendan !~lukeshu !~emulatorman !~aurelien !~jorginho !~coadde !~drtan|' "${pkgdir}"/etc/abs.conf
+ sed -i -e 's|!staging !community-staging !gnome-unstable !kde-unstable|!pcr !nonprism !nonprism-testing !kernels !cross !java !java-ugly !~smv !~xihh !~brendan !~lukeshu !~emulatorman !~aurelien !~jorginho !~coadde !~drtan|' "${pkgdir}"/etc/abs.conf
if [[ $CARCH != "x86_64" ]]; then
sed -i -e 's| multilib||' -e 's| !multilib-testing||' "${pkgdir}"/etc/abs.conf
- fi
- if [[ $CARCH = "x86_64" ]]; then
+ else
sed -i -e 's|community|community libre-multilib|' -e 's|!community-testing|!community-testing !libre-multilib-testing|' "${pkgdir}"/etc/abs.conf
fi
sed -i "s/ARCH=.*/ARCH=$CARCH/" "${pkgdir}"/etc/abs.conf