Fritzing: fix extract

This commit is contained in:
Đoàn Trần Công Danh 2025-08-10 09:09:56 +07:00
parent 3b5abfbf6d
commit d595435b96

View file

@ -18,7 +18,7 @@ distfiles="https://github.com/Fritzing/Fritzing-app/archive/${version}.tar.gz>fr
https://github.com/Fritzing/Fritzing-parts/archive/${_partshash}.tar.gz>fritzing-parts-${_partshash}.tar.gz"
checksum="2475a95aad2c1536eef3fdb72665c5c16590644b45bd110a0cde223c916625b8
2d5882f0180d04c582ef418fd286bf1d04142409d316a4cd5c9ce3e2d91434dd"
skip_extractions="fritzing-parts-${_partshash}.tar.gz"
skip_extraction="fritzing-parts-${_partshash}.tar.gz"
post_patch() {
# looks for libgit2 and boost in the source tree
@ -35,7 +35,7 @@ post_patch() {
post_install() {
vmkdir usr/share/fritzing
vsrcextract -C /usr/share/fritzing $skip_extractions
vsrcextract -C /usr/share/fritzing $skip_extraction
mv ${DESTDIR}/usr/bin/Fritzing{,-bin}
vbin ${FILESDIR}/Fritzing
sed -i -e "s;^Icon=.*;Icon=fritzing;" ${DESTDIR}/usr/share/applications/fritzing.desktop