summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/debootstrap-libre/PKGBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/pcr/debootstrap-libre/PKGBUILD b/pcr/debootstrap-libre/PKGBUILD
index 47ea86d07..0f49e4124 100644
--- a/pcr/debootstrap-libre/PKGBUILD
+++ b/pcr/debootstrap-libre/PKGBUILD
@@ -2,13 +2,13 @@
_pkgname=debootstrap
pkgname=debootstrap-libre
-pkgver=1.0.53
-pkgrel=3.1
+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=('GPL')
url="http://packages.debian.org/sid/debootstrap"
-depends=('binutils' 'wget')
+depends=('wget')
replaces=$_pkgname
conflicts=$_pkgname
provides=$_pkgname=$pkgver
@@ -16,12 +16,12 @@ source=("http://ftp.debian.org/debian/pool/main/d/${_pkgname}/${_pkgname}_${pkgv
'gnewsense'
'trisquel')
install="debootstrap.install"
-md5sums=('1ea9c87d54b6cf9349d602406bf43e5a'
+md5sums=('16d5acf9a2676692a57b662975b70170'
'13978bdd1d877a0dd2c3c874ecd54f03'
'b020aa8426e70a6024c8e76312c17d78')
package(){
- tar -xzf "${srcdir}/data.tar.gz" -C "${pkgdir}/"
+ tar -xJf "${srcdir}/data.tar.xz" -C "${pkgdir}/"
# remove Debian scripts
rm -v "${pkgdir}/usr/share/debootstrap/scripts"/*
# move the executables to /usr/bin
@@ -31,7 +31,7 @@ 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 gnewsense "$pkgdir/usr/share/debootstrap/scripts"
@@ -44,10 +44,12 @@ package(){
# 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"
}