summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-04-16 03:47:45 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-04-16 03:47:45 +0000
commitc78a18750fc2b9df6ea94089159f4176a1f9198d (patch)
tree25be357ee503ee66fd716327dd1a9a42d5f8b235 /pcr
parentad45d1982b97faa9372d99e51daa687c7c09de7d (diff)
Wed Apr 16 03:42:20 UTC 2014
Diffstat (limited to 'pcr')
-rw-r--r--pcr/debootstrap-libre/PKGBUILD68
-rw-r--r--pcr/debootstrap-libre/debootstrap.8.gzbin2580 -> 0 bytes
2 files changed, 0 insertions, 68 deletions
diff --git a/pcr/debootstrap-libre/PKGBUILD b/pcr/debootstrap-libre/PKGBUILD
deleted file mode 100644
index 298d52ee1..000000000
--- a/pcr/debootstrap-libre/PKGBUILD
+++ /dev/null
@@ -1,68 +0,0 @@
-# Maintainer: André Silva <emulatorman@parabola.nu>
-
-_pkgname=debootstrap
-pkgname=debootstrap-libre
-pkgver=1.0.59
-pkgrel=1
-pkgdesc="A tool used to create a gNewSense or Trisquel base system from scratch, without requiring the availability of dpkg or apt (Debian support removed)"
-arch=('any')
-license=('MIT')
-url="http://packages.debian.org/sid/debootstrap"
-depends=('wget')
-replaces=$_pkgname
-conflicts=$_pkgname
-provides=$_pkgname=$pkgver
-source=("http://ftp.debian.org/debian/pool/main/d/${_pkgname}/${_pkgname}_${pkgver}_all.deb"
- "${_pkgname}.8.gz"
- 'gnewsense'
- 'trisquel')
-install="debootstrap.install"
-md5sums=('16d5acf9a2676692a57b662975b70170'
- 'b565d089342b8a7ee35166b5d90825c7'
- '13978bdd1d877a0dd2c3c874ecd54f03'
- 'b020aa8426e70a6024c8e76312c17d78')
-
-package(){
- tar -xJf "${srcdir}/data.tar.xz" -C "${pkgdir}/"
- # remove Debian files
- rm -v "${pkgdir}/usr/share/doc/debootstrap"/{README,changelog.gz}
- rm -v "${pkgdir}/usr/share/man/man8/debootstrap.8.gz"
- # 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 rebranded man
- install -m644 ${_pkgname}.8.gz "${pkgdir}/usr/share/man/man8"
-
- # move license to licenses folder
- install -Dm644 "${pkgdir}/usr/share/doc/debootstrap/copyright" \
- "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
- rm -rv "${pkgdir}/usr/share/doc"
-
- # 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/belenos"
- 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"
- ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/toutatis"
-}
diff --git a/pcr/debootstrap-libre/debootstrap.8.gz b/pcr/debootstrap-libre/debootstrap.8.gz
deleted file mode 100644
index 07ec4808c..000000000
--- a/pcr/debootstrap-libre/debootstrap.8.gz
+++ /dev/null
Binary files differ