summaryrefslogtreecommitdiff
path: root/libre/abs-libre
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-30 01:17:13 -0700
committerroot <root@rshg054.dnsready.net>2013-06-30 01:17:13 -0700
commit7a8005609048a38bb6b7538effb4236b49385cd5 (patch)
treee1c35bdece7832f3cfafb52d79ff70a57e1023b7 /libre/abs-libre
parent904e95f187c6f547dfa804cd58feeba306962031 (diff)
Sun Jun 30 01:15:30 PDT 2013
Diffstat (limited to 'libre/abs-libre')
-rw-r--r--libre/abs-libre/PKGBUILD51
-rw-r--r--libre/abs-libre/abs.install13
2 files changed, 0 insertions, 64 deletions
diff --git a/libre/abs-libre/PKGBUILD b/libre/abs-libre/PKGBUILD
deleted file mode 100644
index 259cf007f..000000000
--- a/libre/abs-libre/PKGBUILD
+++ /dev/null
@@ -1,51 +0,0 @@
-# $Id: PKGBUILD 166402 2012-09-07 16:49:13Z dreisner $
-# Maintainer: Allan McRae <allan@archlinux.org>
-
-_pkgname=abs
-pkgname=abs-libre
-#CARCH=mips64el
-pkgver=2.4.4
-pkgrel=1
-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{,.sig})
-md5sums=('7258c739a93e02a4f31f114e9fc3b0ba'
- 'a628f7d5b1cd1e838366b88709690c24')
-provides=("${_pkgname}=${pkgver}")
-replaces=("${_pkgname}")
-conflicts=("${_pkgname}")
-
-build() {
- cd "$_pkgname-$pkgver"
-
- make
-}
-
-package() {
- cd "$_pkgname-$pkgver"
-
- make DESTDIR="${pkgdir}" install
-
- # Add readme file, and make base /var/abs path
- install -dm755 "${pkgdir}"/var/abs/local/
- install -Dm644 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
- if [[ $CARCH = "mips64el" ]]; then
- sed -i -e 's| multilib||' -e 's| !multilib-testing||' ${pkgdir}/etc/abs.conf
- sed -i '/ARCH=/s|i686|mips64el|' ${pkgdir}/etc/abs.conf
- fi
-}
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
-}
-