diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-22 00:18:50 -0600 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-22 00:18:50 -0600 |
commit | b8ca2c30f3805e3c697b689f41e7c3f57a9f2c8e (patch) | |
tree | 5ea72d41d0f6799dd6b2123703133a860810a023 /pcr/debootstrap | |
parent | bbbfa15c7556da095dba31c83f2a73bc2aaa2009 (diff) | |
parent | fed8f532d64588f7ef94befe5b6c8c84eb3b4430 (diff) | |
download | abslibre-b8ca2c30f3805e3c697b689f41e7c3f57a9f2c8e.tar.gz abslibre-b8ca2c30f3805e3c697b689f41e7c3f57a9f2c8e.tar.bz2 abslibre-b8ca2c30f3805e3c697b689f41e7c3f57a9f2c8e.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/debootstrap')
-rw-r--r-- | pcr/debootstrap/PKGBUILD | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/pcr/debootstrap/PKGBUILD b/pcr/debootstrap/PKGBUILD index e46a7d0b1..d5a45b5b1 100644 --- a/pcr/debootstrap/PKGBUILD +++ b/pcr/debootstrap/PKGBUILD @@ -1,9 +1,8 @@ -# $Id$ # Maintainer: André Silva <emulatorman@lavabit.com> pkgname=debootstrap -pkgver=1.0.48 -pkgrel=1 +pkgver=1.0.52 +pkgrel=3 pkgdesc="A tool used to create a gNewSense or Trisquel base system from scratch, without requiring the availability of dpkg or apt" arch=('any') license=('GPL') @@ -13,15 +12,20 @@ source=("http://ftp.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_${pkgver 'metad' 'trisquel') install="debootstrap.install" -md5sums=('f75ae43204ed273c7a95c12a5a2f715a' +md5sums=('97ac467bf63cf066f52d0dd7fcf77e9a' '4425300ca68d60fb60a6d699e153a519' 'b020aa8426e70a6024c8e76312c17d78') package(){ - tar -xzf "$srcdir/data.tar.gz" -C "$pkgdir/" - + tar -xzf "${srcdir}/data.tar.gz" -C "${pkgdir}/" + # move the executables to /usr/bin + mkdir -p ${pkgdir}/usr/bin + mv "${pkgdir}/usr/sbin"/* "${pkgdir}/usr/bin/" + rmdir "${pkgdir}/usr/sbin" + # patch the path to use gNewSense or Trisquel defaults (prevents error in chrooted environment) + sed -i 's|export PATH|export PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/java/jre/bin:/usr/bin/vendor_perl:/usr/bin/core_perl"|' ${pkgdir}/usr/bin/debootstrap # doesn't work with gpg 2.x, patch to point to gpg1v - sed 's/gpgv/gpg1v/g;' -i "$pkgdir/usr/sbin/debootstrap" "$pkgdir/usr/share/debootstrap/functions" + sed 's/gpgv/gpg1v/g;' -i "${pkgdir}/usr/bin/debootstrap" "${pkgdir}/usr/share/debootstrap/functions" # add gNewSense script install -m644 metad "$pkgdir/usr/share/debootstrap/scripts" |