diff options
author | root <root@rshg054.dnsready.net> | 2013-08-25 01:38:48 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-25 01:38:48 -0700 |
commit | eed3b2a218be9aa9d9d8256f6b8ccd06d04b8804 (patch) | |
tree | 2404ba9a8a5481c0a2e700ca72d9657f6c393a64 /pcr | |
parent | 49e0f6ae5dad013852999f497117d6798b2fb085 (diff) |
Sun Aug 25 01:38:43 PDT 2013
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/debootstrap-libre/PKGBUILD (renamed from pcr/debootstrap/PKGBUILD) | 27 | ||||
-rw-r--r-- | pcr/debootstrap-libre/debootstrap.install (renamed from pcr/debootstrap/debootstrap.install) | 2 | ||||
-rw-r--r-- | pcr/debootstrap-libre/gnewsense (renamed from pcr/debootstrap/metad) | 11 | ||||
-rw-r--r-- | pcr/debootstrap-libre/trisquel (renamed from pcr/debootstrap/trisquel) | 0 |
4 files changed, 18 insertions, 22 deletions
diff --git a/pcr/debootstrap/PKGBUILD b/pcr/debootstrap-libre/PKGBUILD index d5a45b5b1..e4f4ef65e 100644 --- a/pcr/debootstrap/PKGBUILD +++ b/pcr/debootstrap-libre/PKGBUILD @@ -1,23 +1,29 @@ # Maintainer: André Silva <emulatorman@lavabit.com> -pkgname=debootstrap -pkgver=1.0.52 +_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" +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=('GPL') url="http://packages.debian.org/sid/debootstrap" depends=('wget') -source=("http://ftp.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_${pkgver}_all.deb" - 'metad' +replaces=$_pkgname +conflicts=$_pkgname +provides=$_pkgname=$pkgver +source=("http://ftp.debian.org/debian/pool/main/d/${_pkgname}/${_pkgname}_${pkgver}_all.deb" + 'gnewsense' 'trisquel') install="debootstrap.install" -md5sums=('97ac467bf63cf066f52d0dd7fcf77e9a' - '4425300ca68d60fb60a6d699e153a519' +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/" @@ -25,14 +31,13 @@ package(){ # 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" + 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" + install -m644 gnewsense "$pkgdir/usr/share/debootstrap/scripts" # create gNewSense symlinks - ln -s metad "$pkgdir/usr/share/debootstrap/scripts/deltah" - ln -s metad "$pkgdir/usr/share/debootstrap/scripts/parkes" + ln -s gnewsense "$pkgdir/usr/share/debootstrap/scripts/parkes" # add Trisquel script install -m644 trisquel "$pkgdir/usr/share/debootstrap/scripts" diff --git a/pcr/debootstrap/debootstrap.install b/pcr/debootstrap-libre/debootstrap.install index 85a99f160..3da2f1d22 100644 --- a/pcr/debootstrap/debootstrap.install +++ b/pcr/debootstrap-libre/debootstrap.install @@ -1,7 +1,7 @@ post_install() { if [ "$(uname -m)" = "x86_64" ]; then darch="amd64" - elif [ "$(uname -m)" = "i386" ]; then + elif [ "$(uname -m)" = "i686" ]; then darch="i386" else darch="mips64el" diff --git a/pcr/debootstrap/metad b/pcr/debootstrap-libre/gnewsense index 8d14c0ed9..884ac88a0 100644 --- a/pcr/debootstrap/metad +++ b/pcr/debootstrap-libre/gnewsense @@ -1,13 +1,4 @@ -case $SUITE in - parkes|metad) - default_mirror http://archive.gnewsense.org/gnewsense-three/gnewsense/ - ;; - deltah) - default_mirror http://archive.gnewsense.org/gnewsense - ;; -esac - - +default_mirror http://archive.gnewsense.org/gnewsense-three/gnewsense mirror_style release download_style apt finddebs_style from-indices diff --git a/pcr/debootstrap/trisquel b/pcr/debootstrap-libre/trisquel index 7efa062f9..7efa062f9 100644 --- a/pcr/debootstrap/trisquel +++ b/pcr/debootstrap-libre/trisquel |