summaryrefslogtreecommitdiff
path: root/libre/abs-libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre/abs-libre')
-rw-r--r--libre/abs-libre/PKGBUILD48
-rw-r--r--libre/abs-libre/abs.install13
2 files changed, 0 insertions, 61 deletions
diff --git a/libre/abs-libre/PKGBUILD b/libre/abs-libre/PKGBUILD
deleted file mode 100644
index 1abcd02dc..000000000
--- a/libre/abs-libre/PKGBUILD
+++ /dev/null
@@ -1,48 +0,0 @@
-# $Id: PKGBUILD 134858 2011-08-08 04:45:57Z allan $
-# Maintainer: Allan McRae <allan@archlinux.org>
-
-_pkgname=abs
-pkgname=abs-libre
-#CARCH=mips64el
-pkgver=2.4.3
-pkgrel=3
-pkgdesc="Utilities to download and work with the Arch Build System (ABS)"
-arch=('i686' 'x86_64' 'mips64el')
-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')
-provides=("${_pkgname}=${pkgver}")
-replaces=("${_pkgname}")
-conflicts=("${_pkgname}")
-
-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
-
- 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
- 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
-}
-
diff --git a/libre/abs-libre/abs.install b/libre/abs-libre/abs.install
deleted file mode 100644
index ac814c2fc..000000000
--- a/libre/abs-libre/abs.install
+++ /dev/null
@@ -1,13 +0,0 @@
-pre_upgrade() {
- if [ "$(vercmp $2 2.3.2-1)" -lt 0 ]; then
- echo "==> Fixing potential ABS tree permission issues (this may take a while...)"
-
- for dir in core extra community testing; do
- if [ -d /var/abs/$dir ]; then
- find /var/abs/$dir -type d -exec chown root:root {} \;
- find /var/abs/$dir -type d -exec chmod 755 {} \;
- fi
- done
- fi
-}
-