summaryrefslogtreecommitdiff
path: root/libre/abs-libre/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-07 15:26:04 +0000
committerroot <root@rshg054.dnsready.net>2011-09-07 15:26:04 +0000
commit9a1a8d77ee00e49dfeef44d74b1e40a831332383 (patch)
tree8b80a03609eba8a12cbb0c48b1a31266c6bdc540 /libre/abs-libre/PKGBUILD
parentfe769389426a6aa5a2878bf7dcfc6144717e1e93 (diff)
Wed Sep 7 15:26:04 UTC 2011
Diffstat (limited to 'libre/abs-libre/PKGBUILD')
-rw-r--r--libre/abs-libre/PKGBUILD33
1 files changed, 20 insertions, 13 deletions
diff --git a/libre/abs-libre/PKGBUILD b/libre/abs-libre/PKGBUILD
index fa23952bd..a9be5a541 100644
--- a/libre/abs-libre/PKGBUILD
+++ b/libre/abs-libre/PKGBUILD
@@ -3,36 +3,43 @@
_pkgname=abs
pkgname=abs-libre
-pkgver=2.4.2
-pkgrel=1
+#CARCH=x86_64
+pkgver=2.4.3
+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')
backup=(etc/abs.conf)
-install=abs.install
source=(ftp://ftp.archlinux.org/other/abs/${_pkgname}-${pkgver}.tar.gz)
-md5sums=('7be7cfc67443cff62e20f27ca57dc17a')
+md5sums=('b8b46b22d2f9a2aec2c994ccf230b4fd')
build() {
cd ${srcdir}/${_pkgname}
- make CONFDIR=/etc/
- make CONFDIR=/etc/ DESTDIR=${pkgdir} install
+ 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
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
}