Skip to content

Commit

Permalink
archrelease: copy trunk to testing-i686
Browse files Browse the repository at this point in the history
git-svn-id: file:///srv/repos/svn-packages/svn@134859 eb2447ed-0c53-47e4-bac8-5bc4a241df78
  • Loading branch information
allan committed Aug 8, 2011
1 parent becc5da commit 06dbf34
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions abs/repos/testing-i686/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# $Id$
# Maintainer: Allan McRae <[email protected]>

pkgname=abs
pkgver=2.4.3
pkgrel=1
pkgdesc="Utilities to download and work with the Arch Build System (ABS)"
arch=('i686' 'x86_64')
url="http://projects.archlinux.org/abs.git/"
license=('GPL')
depends=('bash' 'rsync')
backup=(etc/abs.conf)
source=(ftp://ftp.archlinux.org/other/abs/${pkgname}-${pkgver}.tar.gz)
md5sums=('b8b46b22d2f9a2aec2c994ccf230b4fd')

build() {
cd ${srcdir}/${pkgname}

make prefix=/usr sysconfdir=/etc prepare
make DESTDIR=${pkgdir} install

# Add readme file, and make base /var/abs path
install -dm0755 ${pkgdir}/var/abs/local/
install -Dm0644 ${srcdir}/abs/README ${pkgdir}/var/abs/README

# 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
}

0 comments on commit 06dbf34

Please sign in to comment.