diff options
author | Shackra Sislock <jorgean@lavabit.com> | 2013-07-04 21:52:02 -0600 |
---|---|---|
committer | Shackra Sislock <jorgean@lavabit.com> | 2013-07-04 21:52:02 -0600 |
commit | cd298e9e8d80d387472058ff4b089f0ee509d644 (patch) | |
tree | d00e711db4fa42f10698791204a1e64ba5611f3c /libre/abs | |
parent | 64e1664807a6e37d4fdfc35d271028104b54c4a1 (diff) | |
parent | 91bd98130ae07e48bd945b0b87e51a117c29ad6f (diff) | |
download | abslibre-cd298e9e8d80d387472058ff4b089f0ee509d644.tar.gz abslibre-cd298e9e8d80d387472058ff4b089f0ee509d644.tar.bz2 abslibre-cd298e9e8d80d387472058ff4b089f0ee509d644.zip |
updating my branches
Diffstat (limited to 'libre/abs')
-rw-r--r-- | libre/abs/PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/libre/abs/PKGBUILD b/libre/abs/PKGBUILD new file mode 100644 index 000000000..f7e85d0ef --- /dev/null +++ b/libre/abs/PKGBUILD @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Allan McRae <allan@archlinux.org> + +replaces=('abs-libre') +conflicts=('abs-libre') + +pkgname=abs +pkgver=2.4.4 +pkgrel=1.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') + +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|rsync.archlinux.org|parabolagnulinux.org|' "${pkgdir}"/etc/abs.conf + sed -i -e 's|(core|(libre !libre-testing core|' "${pkgdir}"/etc/abs.conf + if [[ $CARCH != "x86_64" ]]; then + sed -i -e 's| multilib||' -e 's| !multilib-testing||' "${pkgdir}"/etc/abs.conf + fi + sed -i "s/ARCH=.*/ARCH=$CARCH/" "${pkgdir}"/etc/abs.conf +} |