summaryrefslogtreecommitdiff
path: root/libre/abs
diff options
context:
space:
mode:
Diffstat (limited to 'libre/abs')
-rw-r--r--libre/abs/PKGBUILD50
1 files changed, 0 insertions, 50 deletions
diff --git a/libre/abs/PKGBUILD b/libre/abs/PKGBUILD
deleted file mode 100644
index 311dc9012..000000000
--- a/libre/abs/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# $Id: PKGBUILD 215815 2014-06-30 16:27:03Z fyan $
-# Maintainer (Arch): Allan McRae <allan@archlinux.org>
-# Maintainer: André Silva <emulatorman@hyperbola.info>
-# Contributor: Luke Shumaker <lukeshu@sbcglobal.net>
-# Contributor: Nicolás Reynolds <fauno@kiwwwi.com.ar>
-# Contributor: Aditya Som <icarious@hacari.org>
-
-pkgname=abs
-pkgver=2.4.4
-pkgrel=2.parabola2
-pkgdesc="Utilities to download and work with the Arch Build System (ABS), with Parabola repos support"
-arch=('i686' 'x86_64' 'armv7h')
-url="http://projects.archlinux.org/abs.git/"
-license=('GPL')
-replaces=('abs-libre' 'abs-parabola')
-conflicts=('abs-libre' 'abs-parabola')
-depends=('bash' 'rsync')
-backup=(etc/abs.conf)
-source=(ftp://ftp.archlinux.org/other/abs/${pkgname}-${pkgver}.tar.gz{,.sig})
-md5sums=('7258c739a93e02a4f31f114e9fc3b0ba'
- 'a628f7d5b1cd1e838366b88709690c24')
-
-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
-
- # make adjustments to abs.conf
- sed -i -e 's|i686 or x86_64|i686, x86_64 or mips64el|' "${pkgdir}"/etc/abs.conf
- sed -i -e 's|rsync.archlinux.org|repo.parabola.nu|' "${pkgdir}"/etc/abs.conf
- sed -i -e 's|repo.parabola.nu["]|repo.parabola.nu"\nSYNCARGS="$SYNCARGS --port=875"|' "${pkgdir}"/etc/abs.conf
- sed -i -e 's|(core|(libre !libre-testing core|' "${pkgdir}"/etc/abs.conf
- sed -i -e 's|!staging !community-staging !gnome-unstable !kde-unstable|!pcr !nonprism !nonprism-testing !kernels !cross !java !java-ugly !~smv !~xihh !~brendan !~lukeshu !~emulatorman !~aurelien !~jorginho !~coadde !~drtan|' "${pkgdir}"/etc/abs.conf
- if [[ $CARCH != "x86_64" ]]; then
- sed -i -e 's| multilib||' -e 's| !multilib-testing||' "${pkgdir}"/etc/abs.conf
- else
- sed -i -e 's|community|community libre-multilib|' -e 's|!community-testing|!community-testing !libre-multilib-testing|' "${pkgdir}"/etc/abs.conf
- fi
- sed -i "s/ARCH=.*/ARCH=$CARCH/" "${pkgdir}"/etc/abs.conf
-}