debootstrap: more deps, don't stray .orig files.

This commit is contained in:
Christian Neukirchen 2016-06-18 16:16:39 +02:00
parent 539ee855c5
commit 7cde6c1397
1 changed files with 3 additions and 3 deletions

View File

@ -1,9 +1,9 @@
# Template file for 'debootstrap'
pkgname=debootstrap
version=1.0.81
revision=1
revision=2
build_style=fetch
depends="wget gnupg binutils"
depends="binutils bzip2 gnupg gzip tar wget xz"
short_desc="Bootstrap a basic Debian system"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="custom"
@ -17,7 +17,7 @@ do_install() {
ar p ${pkgname}_${version}_all.deb data.tar.gz | tar xvzf - -C ${DESTDIR}
ar p debian-archive-keyring_2014.3_all.deb data.tar.xz | tar xvJf - -C ${DESTDIR} ./usr/share/keyrings/debian-archive-keyring.gpg
mv ${DESTDIR}/usr/sbin ${DESTDIR}/usr/bin
patch -d ${DESTDIR} -Np0 <${FILESDIR}/bug-668001.patch
patch --no-backup-if-mismatch -d ${DESTDIR} -Np0 <${FILESDIR}/bug-668001.patch
sed -i 's|export PATH|export PATH="/usr/sbin:/sbin:/usr/bin:/bin"|' ${DESTDIR}/usr/bin/debootstrap
vlicense ${DESTDIR}/usr/share/doc/debootstrap/copyright LICENSE
rm ${DESTDIR}/usr/share/doc/debootstrap/copyright