diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-08-24 22:20:22 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-08-24 22:20:22 -0300 |
commit | 9ff8effca2f543458d982a9290419fc622011186 (patch) | |
tree | 827fd92b3cba30e486eaf8f7361ca74252552a6e /pcr/debootstrap/PKGBUILD | |
parent | f467518e7c9ba47f0901b0089634aaa4ac07f2d7 (diff) |
rename debootstrap to debootstrap-libre
Diffstat (limited to 'pcr/debootstrap/PKGBUILD')
-rw-r--r-- | pcr/debootstrap/PKGBUILD | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/pcr/debootstrap/PKGBUILD b/pcr/debootstrap/PKGBUILD deleted file mode 100644 index 5e01864d7..000000000 --- a/pcr/debootstrap/PKGBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# Maintainer: André Silva <emulatorman@lavabit.com> - -_pkgname=debootstrap -pkgname=debootstrap-libre -pkgver=1.0.53 -pkgrel=3 -pkgdesc="A tool used to create a gNewSense or Trisquel base system from scratch, without requiring the availability of dpkg or apt (Debian scripts removed)" -arch=('any') -license=('GPL') -url="http://packages.debian.org/sid/debootstrap" -depends=('wget') -source=("http://ftp.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_${pkgver}_all.deb" - 'gnewsense' - 'trisquel') -install="debootstrap.install" -md5sums=('1ea9c87d54b6cf9349d602406bf43e5a' - '13978bdd1d877a0dd2c3c874ecd54f03' - 'b020aa8426e70a6024c8e76312c17d78') - -package(){ - tar -xzf "${srcdir}/data.tar.gz" -C "${pkgdir}/" - # remove Debian scripts - rm -v "$pkgdir/usr/share/debootstrap/scripts/*" - # 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/bin/debootstrap" "${pkgdir}/usr/share/debootstrap/functions" - - # add gNewSense script - install -m644 gnewsense "$pkgdir/usr/share/debootstrap/scripts" - - # create gNewSense symlinks - ln -s gnewsense "$pkgdir/usr/share/debootstrap/scripts/parkes" - - # add Trisquel script - install -m644 trisquel "$pkgdir/usr/share/debootstrap/scripts" - - # create Trisquel symlinks - ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/awen" - ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/brigantia" - ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/dagda" - ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/dwyn" - ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/robur" - ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/slaine" - ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/taranis" -} |