diff --git a/srcpkgs/schroot/template b/srcpkgs/schroot/template index 1a6dfe8ef1a..cd011b5043b 100644 --- a/srcpkgs/schroot/template +++ b/srcpkgs/schroot/template @@ -55,10 +55,12 @@ checksum=" 3ce8dfd9cb97b099e4b6d4ccec421d6cc8c9ef84574681e928a12badb5643d0b 7bd4e0c2709979362c86a86c10d2b23d290d26e1a2d301a602e829327f483ec1" nocross=yes +skip_extraction="schroot_${version}-${_debian_version}.debian.tar.xz" -pre_configure() { - cat ../debian/patches/series | while read p; do - patch -p1 -i ../debian/patches/$p +post_extract() { + bsdtar -xf $XBPS_SRCDISTDIR/schroot-${version}/$skip_extraction + cat debian/patches/series | while read p; do + patch -Np1 -F0 -i debian/patches/$p done }