pcb: remove incorrect mime/desktopdb/mutable_files usage.
This commit is contained in:
parent
a7b6662df9
commit
fd8eb923a4
1 changed files with 3 additions and 12 deletions
|
@ -1,16 +1,12 @@
|
||||||
# Template file for 'pcb'
|
# Template file for 'pcb'
|
||||||
pkgname=pcb
|
pkgname=pcb
|
||||||
version=20140316
|
version=20140316
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="flex bison intltool pkg-config desktop-file-utils"
|
configure_args="--disable-update-desktop-database --disable-update-mime-database"
|
||||||
|
hostmakedepends="flex intltool pkg-config desktop-file-utils"
|
||||||
makedepends="MesaLib-devel glu-devel gtk+-devel gtkglext-devel gd-devel tk-devel"
|
makedepends="MesaLib-devel glu-devel gtk+-devel gtkglext-devel gd-devel tk-devel"
|
||||||
depends="pcb-data geda"
|
depends="pcb-data geda"
|
||||||
mutable_files="/usr/share/mime/application/x-pcb-footprint.xml
|
|
||||||
/usr/share/mime/application/x-gerber.xml
|
|
||||||
/usr/share/mime/application/x-pcb-layout.xml
|
|
||||||
/usr/share/mime/application/x-excellon.xml
|
|
||||||
/usr/share/mime/application/x-pcb-netlist.xml"
|
|
||||||
short_desc="Interactive printed circuit board editor"
|
short_desc="Interactive printed circuit board editor"
|
||||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
@ -18,11 +14,6 @@ homepage="http://pcb.geda-project.org/news.html"
|
||||||
distfiles="http://ftp.geda-project.org/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
|
distfiles="http://ftp.geda-project.org/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=82c4f39438ee4e278196a3b67ef021145dcfbb00519508ccf51aa7832121c950
|
checksum=82c4f39438ee4e278196a3b67ef021145dcfbb00519508ccf51aa7832121c950
|
||||||
|
|
||||||
post_install() {
|
|
||||||
# Remove unwanted files in /usr/share/mime and /usr/share/applications
|
|
||||||
find ${DESTDIR}/usr/share/mime -maxdepth 1 -type f | xargs rm -v
|
|
||||||
rm -v ${DESTDIR}/usr/share/applications/mimeinfo.cache
|
|
||||||
}
|
|
||||||
pcb-data_package() {
|
pcb-data_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
short_desc=" - data files"
|
short_desc=" - data files"
|
||||||
|
|
Loading…
Reference in a new issue