geda: remove incorrect mime/desktopdb/mutable_files usage

This commit is contained in:
jbu 2015-06-06 08:57:56 +02:00
parent 8018b5cecd
commit 8773c9b2c2

View file

@ -7,9 +7,6 @@ build_style=gnu-configure
hostmakedepends="pkg-config guile desktop-file-utils"
makedepends="gc-devel gtk+-devel guile-devel"
depends="guile geda-data"
mutable_files="/usr/share/mime/application/x-geda-symbol.xml
/usr/share/mime/application/x-geda-gsch2pcb-project.xml
/usr/share/mime/application/x-geda-schematic.xml"
short_desc="Electronic Design Automation tool"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2"
@ -20,11 +17,6 @@ checksum=bbf4773aef1b5a51a8d6f4c3fa288c047340cc62dd6e14d7928fcc6e4051b721
case "$XBPS_TARGET_MACHINE" in
*-musl) broken="Because guile fails https://travis-ci.org/voidlinux/void-packages/jobs/64873229"
esac
post_install() {
# Remove unwanted files in /usr/share/mime and /usr/share/applications
find ${DESTDIR}/usr/share/mime -maxdepth 1 -type f | xargs rm
rm ${DESTDIR}/usr/share/applications/mimeinfo.cache
}
geda-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"