hddtemp: fix after auto-create_wrksrc
This commit is contained in:
parent
caca267fa6
commit
662f29352e
1 changed files with 6 additions and 2 deletions
|
@ -16,10 +16,14 @@ distfiles="
|
|||
checksum="
|
||||
618541584054093d53be8a2d9e81c97174f30f00af91cb8700a97e442d79ef5b
|
||||
6f1ddaa9fbc90ea5c00b949e0981b78c5014e109de88804ae2512209091eae56"
|
||||
skip_extraction="hddtemp_${version/.b/-b}-53.diff.gz"
|
||||
|
||||
post_extract() {
|
||||
zcat ${XBPS_SRCDISTDIR}/${pkgname}-${version}/$skip_extraction |
|
||||
patch -Np1 -F0
|
||||
}
|
||||
|
||||
pre_configure() {
|
||||
patch -p1 -i ../hddtemp_${version/.b/-b}-53.diff
|
||||
rm ../hddtemp_${version/.b/-b}-53.diff
|
||||
sed -i 's|/etc/hddtemp.db|/usr/share/hddtemp/hddtemp.db|' doc/hddtemp.8
|
||||
}
|
||||
post_install() {
|
||||
|
|
Loading…
Add table
Reference in a new issue