diff options
Diffstat (limited to 'libre/abs')
-rw-r--r-- | libre/abs/PKGBUILD | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/libre/abs/PKGBUILD b/libre/abs/PKGBUILD index f7e85d0ef..cde9187b5 100644 --- a/libre/abs/PKGBUILD +++ b/libre/abs/PKGBUILD @@ -1,16 +1,15 @@ -# $Id$ -# Maintainer: Allan McRae <allan@archlinux.org> - -replaces=('abs-libre') -conflicts=('abs-libre') +# $Id: PKGBUILD 166402 2012-09-07 16:49:13Z dreisner $ +# Maintainer (Arch): Allan McRae <allan@archlinux.org> pkgname=abs pkgver=2.4.4 -pkgrel=1.1 -pkgdesc="Utilities to download and work with the Arch Build System (ABS)" +pkgrel=1.2 +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/" license=('GPL') +replaces=('abs-libre') +conflicts=('abs-libre') depends=('bash' 'rsync') backup=(etc/abs.conf) source=(ftp://ftp.archlinux.org/other/abs/${pkgname}-${pkgver}.tar.gz{,.sig}) @@ -33,10 +32,15 @@ package() { install -Dm644 README "${pkgdir}"/var/abs/README # 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|(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 if [[ $CARCH != "x86_64" ]]; then sed -i -e 's| multilib||' -e 's| !multilib-testing||' "${pkgdir}"/etc/abs.conf fi + if [[ $CARCH = "x86_64" ]]; then + 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 } |