schroot: fix build after create_wrksrc

This commit is contained in:
Đoàn Trần Công Danh 2022-10-27 18:59:14 +07:00
parent 5bd10eee9d
commit 250c159cc9

View file

@ -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
}