sc: fix build after auto-create_wrksrc

This commit is contained in:
Đoàn Trần Công Danh 2022-10-27 18:59:13 +07:00
parent 97c7dc173e
commit cd2fc78e1e

View file

@ -14,9 +14,11 @@ distfiles="http://ibiblio.org/pub/linux/apps/financial/spreadsheet/sc-${version}
checksum="1997a00b6d82d189b65f6fd2a856a34992abc99e50d9ec463bbf1afb750d1765
37116b9619790564650c4090b4a6264c08aa59fa1e24c63ca073011cd70507cb"
CFLAGS='-DSYSV3'
skip_extraction="sc_${version}-2.diff.gz"
post_extract() {
patch -Np1 <../${pkgname}_${version}-2.diff
zcat $XBPS_SRCDISTDIR/$pkgname-$version/$skip_extraction |
patch -Np1
}
do_install() {