forked from archlinux/svntogit-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
archrelease: copy trunk to testing-i686
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.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |