summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-06-03 11:33:23 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-06-03 11:33:23 +0000
commit8b7bebf5c9e8d8bbfc83cfe1c6f0cb351c9109aa (patch)
tree5d28c42b350bff145e871285178baa7abfcc69e1 /dev-util/gambas
parentVersion bump, bug #272230 (diff)
downloadhistorical-8b7bebf5c9e8d8bbfc83cfe1c6f0cb351c9109aa.tar.gz
historical-8b7bebf5c9e8d8bbfc83cfe1c6f0cb351c9109aa.tar.bz2
historical-8b7bebf5c9e8d8bbfc83cfe1c6f0cb351c9109aa.zip
old
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'dev-util/gambas')
-rw-r--r--dev-util/gambas/Manifest4
-rw-r--r--dev-util/gambas/gambas-2.7.0.ebuild151
-rw-r--r--dev-util/gambas/gambas-2.8.2.ebuild315
3 files changed, 0 insertions, 470 deletions
diff --git a/dev-util/gambas/Manifest b/dev-util/gambas/Manifest
index f0de1235400e..5bffdffdf4cc 100644
--- a/dev-util/gambas/Manifest
+++ b/dev-util/gambas/Manifest
@@ -20,10 +20,6 @@ AUX gambas-2.9.0-help_Makefile.am.patch 976 RMD160 201a33d53059b27ec9cd4f3d69fce
AUX gambas-2.9.0-main_Makefile.am.patch 1244 RMD160 885ed8f6aa10d1ba74476c091893eafdc28af54a SHA1 ded1378bbdb697a13a846357c4b3d4ecf0015553 SHA256 dfee7b37cde0e9a829fd01f8201c6b7aa3f14962c0a01784f82012ea7f541e54
AUX svn-r1636-xdg-utils.patch 1037 RMD160 f08399b653c59317467804a0082e618b0c673a6e SHA1 fbee2e3202a168dc3fa3642e5bf77cfa7792ea73 SHA256 e8f5f03d5122fed388c9379b6a5edd49dbafb4d8e6025ac95db64fab9668a268
DIST gambas2-2.11.1.tar.bz2 12739013 RMD160 5c7f43d6252516e2a9aaa2341a2e1f0699b73bdc SHA1 843beb9e7a8491132500a2709e46b6761b97bef5 SHA256 c40f4c49ed7af5689c66077e4dc3e34f3627cfb99e7ae64f7bbc39162fc2ecd5
-DIST gambas2-2.7.0.tar.bz2 12617961 RMD160 80ac7a6f2f4f76b90001e9e3e9a5362c48a7a9c1 SHA1 1b886ab838d8294a4bbfe3b9206c708b76ddfa9a SHA256 b6fb6bbcb144ce3b73e8b108287029b8916f851ff17da601a5bb7f0a9331f6a2
-DIST gambas2-2.8.2.tar.bz2 12596906 RMD160 bd2fe01e1ff1850851e2a381194766aa70526298 SHA1 f5b1870b433c4878c79b513ed7c97ff850584266 SHA256 5fa736be967db5f3de15abcfb0b8d5889fbcb4efe188915dd504f5bb4aa869fd
EBUILD gambas-2.11.1.ebuild 10230 RMD160 f431594f8f931ac2ec494082fd3b0a3049b28dd8 SHA1 e70b329be339b3271b96809d969c600773054236 SHA256 7de6f9fec16c690006632936bd0c2c662a3ceaf15f07b27bf208bac10f96c35b
-EBUILD gambas-2.7.0.ebuild 3999 RMD160 7f104999f03a2eb4cf64a801452735f37be3b60c SHA1 94f467e02d0431211dc7f37924ea7ecbd1e9a378 SHA256 b7ca2a43d819cab576f0a78b47b5cd6682917e5a89150daff2939e71ccea3be2
-EBUILD gambas-2.8.2.ebuild 9984 RMD160 f86b5a6d8754849d00326792940884c18fd05801 SHA1 29be36d5e906a28d7438010ab84c01b0d7a9f07d SHA256 26a3cd019f820b72bb2fe866024248d3f9f84416a354fe39efd49124fc989fd6
MISC ChangeLog 10952 RMD160 467122262e78277461df1ec3794e2bc922bab925 SHA1 fb64297ab52e3c76cc73b217cd25bbed4f258da6 SHA256 8fe5921378bf211e366709c45e9d7f3fc496c4e734fb271232e92f56e768d222
MISC metadata.xml 387 RMD160 853bcfba2413158ab1e8e1067b04b85fdf80745d SHA1 107b0ee68139f955029d12ac7c6101ab52d9ffce SHA256 704a6b0d9e9b4e814b76161d11bb1669d85493e6a358537fd1f1c7682e440998
diff --git a/dev-util/gambas/gambas-2.7.0.ebuild b/dev-util/gambas/gambas-2.7.0.ebuild
deleted file mode 100644
index 9f5f5818f65a..000000000000
--- a/dev-util/gambas/gambas-2.7.0.ebuild
+++ /dev/null
@@ -1,151 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/gambas/gambas-2.7.0.ebuild,v 1.3 2009/03/30 15:24:41 loki_val Exp $
-
-EAPI=1
-
-inherit autotools eutils qt3
-
-MY_P="${PN}2-${PV}"
-
-DESCRIPTION="Gambas is a free development environment based on a Basic interpreter with object extensions"
-HOMEPAGE="http://gambas.sourceforge.net"
-
-SRC_URI="mirror://sourceforge/gambas/${MY_P}.tar.bz2"
-LICENSE="GPL-2"
-
-SLOT="2"
-
-KEYWORDS="~x86"
-IUSE="bzip2 corba curl firebird gtk kde mysql odbc opengl pcre pdf postgres qt3 sdl smtp sqlite sqlite3 svg v4l xml zlib"
-
-DEPEND=""
-RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 )
- corba? ( >=net-misc/omniORB-4.1.0 )
- curl? ( >=net-misc/curl-7.15.5-r1 )
- firebird? ( >=dev-db/firebird-2.1.0.17755_rc2-r1 )
- gtk? ( >=x11-libs/gtk+-2.10.14 )
- kde? ( >=kde-base/kdelibs-3.5.9-r1:3.5 )
- mysql? ( >=virtual/mysql-5.0 )
- odbc? ( >=dev-db/unixODBC-2.2.12 )
- opengl? ( >=media-libs/mesa-7.0.2 )
- pcre? ( >=dev-libs/libpcre-7.6-r1 )
- pdf? ( >=virtual/poppler-0.5.3 )
- postgres? ( >=virtual/postgresql-base-8.2 )
- qt3? ( x11-libs/qt:3 )
- sdl? ( >=media-libs/sdl-image-1.2.6-r1 >=media-libs/sdl-mixer-1.2.7 )
- smtp? ( >=dev-libs/glib-2.16.2 )
- sqlite? ( =dev-db/sqlite-2* )
- sqlite3? ( >=dev-db/sqlite-3.5.6 )
- svg? ( >=gnome-base/librsvg-2.16.1-r2 )
- v4l? ( >=media-libs/libpng-1.2.26 >=media-libs/jpeg-6b-r8 )
- xml? ( >=dev-libs/libxml2-2.6.31 >=dev-libs/libxslt-1.1.22 )
- zlib? ( >=sys-libs/zlib-1.2.3-r1 )"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
- if ( !(built_with_use sys-devel/gcc libffi) ); then
- die "gcc needs to be build with the USE flag libffi"
- fi
-
- if ( !( use gtk ) ); then
- use svg && die "SVG support depends on GTK being enabled"
- fi
-
- ewarn
- ewarn "Your CFLAGS and LDFLAGS from make.conf are not handled correctly"
- ewarn "They are currently ignored and replaced with internal values"
- ewarn
-
- ### v4l linux kernel support check needed?
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- sed -i -e 's/gb_enable_\$1=yes/gb_enable_\$1=no/' \
- acinclude.m4 \
- || die "sed no-automagic-patch failed"
-
- sed -i -e 's/@QT_LDFLAGS@/\${QT_LDFLAGS}/' \
- gb.qt/src/Makefile.am \
- gb.qt/src/ext/Makefile.am \
- gb.qt/src/opengl/Makefile.am \
- || die "sed qt_ldflags-patch failed"
-
- epatch "${FILESDIR}/${PN}-2.5.0-gcc-libffi-path.patch"
- epatch "${FILESDIR}/${PN}-2.5.0-sdl.patch"
- epatch "${FILESDIR}/${PN}-2.7.0-help-path.patch"
- epatch "${FILESDIR}/${PN}-2.5.0-mimetype-registration.patch"
-
- eautoreconf || die "eautoreconf failed"
-}
-
-src_compile() {
- local myconf
- local myconf_main
- local myconf_qt
- local myconf_xml
-
- myconf="$(use_enable bzip2 bzlib2)
- $(use_enable zlib)
- $(use_enable mysql)
- $(use_enable odbc)
- $(use_enable postgres postgresql)
- $(use_enable sqlite sqlite2)
- $(use_enable sqlite3)
- $(use_enable firebird)
- $(use_enable gtk)
- $(use_enable svg gtksvg)
- $(use_enable pdf)
- --enable-net
- $(use_enable curl)
- $(use_enable smtp)
- $(use_enable pcre)
- $(use_enable qt3 qt)
- --disable-qte
- $(use_enable kde)
- $(use_enable sdl)
- $(use_enable sdl sdlsound)
- $(use_enable xml)
- $(use_enable v4l)
- --enable-crypt
- $(use_enable opengl)
- $(use_enable corba)
- --enable-image
- --enable-desktop"
-
- myconf_main="--enable-intl
- --enable-conv
- --enable-ffi
- --enable-preloading"
-
- if (use qt); then
- myconf_qt="$(use_enable opengl qtopengl)
- --enable-qt-translation "
- fi
-
- myconf_xml="$(use_enable xml xslt)"
-
- econf ${myconf} ${myconf_main} ${myconf_qt} ${myconf_xml} \
- --enable-optimization --disable-debug --disable-profiling \
- --docdir=/usr/share/doc/${PF} --htmldir=/usr/share/doc/${PF}/html \
- || die "econf failed"
-
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install -j1 || die "emake install failed"
-
- dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
-}
-
-pkg_postinst() {
- ewarn
- ewarn "This ebuild currently does not create menu items and does not handle Gambas"
- ewarn "mime installation correctly"
- ewarn
-}
diff --git a/dev-util/gambas/gambas-2.8.2.ebuild b/dev-util/gambas/gambas-2.8.2.ebuild
deleted file mode 100644
index bfde70a30d0d..000000000000
--- a/dev-util/gambas/gambas-2.8.2.ebuild
+++ /dev/null
@@ -1,315 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/gambas/gambas-2.8.2.ebuild,v 1.5 2009/03/30 15:24:41 loki_val Exp $
-
-EAPI="2"
-
-inherit autotools eutils fdo-mime qt3 multilib toolchain-funcs
-
-DESCRIPTION="Gambas is a free development environment based on a Basic interpreter with object extensions"
-HOMEPAGE="http://gambas.sourceforge.net/"
-
-SLOT="2"
-MY_PN="${PN}${SLOT}"
-MY_P="${MY_PN}-${PV}"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
-LICENSE="GPL-2"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="bzip2 corba curl debug doc examples firebird gtk kde mysql odbc opengl pcre pdf postgres qt3 sdl smtp sqlite sqlite3 svg v4l xml zlib"
-
-RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 )
- corba? ( >=net-misc/omniORB-4.1.0 )
- curl? ( >=net-misc/curl-7.15.5-r1 )
- firebird? ( >=dev-db/firebird-2.1.0.17755_rc2-r1 )
- gtk? ( >=x11-libs/gtk+-2.10.14 )
- kde? ( >=kde-base/kdelibs-3.5.9-r1 )
- mysql? ( >=virtual/mysql-5.0 )
- odbc? ( >=dev-db/unixODBC-2.2.12 )
- opengl? ( >=media-libs/mesa-7.0.2 )
- pcre? ( >=dev-libs/libpcre-7.6-r1 )
- pdf? ( >=virtual/poppler-0.5.3 )
- postgres? ( >=virtual/postgresql-base-8.2 )
- qt3? ( >=x11-libs/qt-3.2:3 )
- sdl? ( >=media-libs/sdl-image-1.2.6-r1 >=media-libs/sdl-mixer-1.2.7 )
- smtp? ( >=dev-libs/glib-2.16.2 )
- sqlite? ( =dev-db/sqlite-2* )
- sqlite3? ( >=dev-db/sqlite-3.5.6 )
- svg? ( >=gnome-base/librsvg-2.16.1-r2 )
- v4l? ( >=media-libs/libpng-1.2.26 >=media-libs/jpeg-6b-r8 )
- xml? ( >=dev-libs/libxml2-2.6.31 >=dev-libs/libxslt-1.1.22 )
- zlib? ( >=sys-libs/zlib-1.2.3-r1 )
- sys-devel/gcc[libffi]"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
- # ImageProvider implementers, see .component files for more info
- if ! { use qt3 || use gtk || use sdl; } ; then
- use pdf && die "PDF support depends on Qt, GTK or SDL being enabled"
- use v4l && die "V4L support depends on Qt, GTK or SDL being enabled"
- fi
-
- # OpenGLViewer implementers, see .component files for more info
- if ! { use qt3 || use sdl; } ; then
- use opengl && die "OpenGL support depends on Qt or SDL being enabled"
- fi
-
- if ! use gtk; then
- use svg && die "SVG support depends on GTK being enabled"
- fi
-
- if ! use qt3; then
- use kde && die "KDE support depends on Qt being enabled"
-
- einfo
- ewarn "The Gambas IDE currently cannot be be build without Qt being enabled."
- if use gtk; then
- einfo
- ewarn "You are using the USE flag gtk, but not qt3. Attempting to use GTK instead"
- ewarn "of Qt for certain components. This is considered EXPERIMENTAL and the"
- ewarn "resulting components may not function."
- fi
- einfo
- ebeep 3
- fi
-}
-
-my_reduce_eautoreconf() {
- sed -i -e "/^\(AC\|GB\)_CONFIG_SUBDIRS(${1}[,)]/d" \
- configure.ac \
- || die "my_reduce_eautoreconf: sed on configure.ac failed with ${1}"
-
- sed -i -e "/^SUBDIRS/s/\ \(@${1}_dir@\|${1}\)//1" \
- Makefile.am \
- || die "my_reduce_eautoreconf: sed on Makefile.am failed with ${1}"
-}
-
-my_examine_components() {
- local comp="gb.*/src/*.component gb.*/src/*/*.component main/lib/*/*.component comp/src/*/.component"
-
- # Examine app/src/gambas2/CComponent.class for more info
- einfo
- einfo "Checking component files ..."
- einfo
- elog "The following components are reported stable, but incomplete:"
- elog "$(grep '^State=1' ${comp} | sed -e 's/.*gb\.\([^/]*\)[/]\?\.component.*/\t\1/')"
- einfo
- ewarn "The following components are reported unstable:"
- ewarn "$(grep '^\(State=2\|Alpha\)' ${comp} | sed -e 's/.*gb\.\([^/]*\)[/]\?\.component.*/\t\1/')"
- einfo
-}
-
-src_prepare() {
- if { ! use qt3; } && use gtk; then
- ebegin "Applying sed no-Qt-use-GTK-workaround-patch (EXPERIMENTAL)"
- # Gentoo-specific patch/workaround
- sed -i -e 's/EXPORT = "gb.qt"/EXPORT = "gb.gtk"/' \
- main/lib/gui/main.c \
- || die "sed no-Qt-use-GTK-workaround-patch (EXPERIMENTAL)"
- eend 0
- fi
-
- ebegin "Applying sed no-automagic-patch"
- # Gentoo-specific patch
- sed -i -e 's/gb_enable_\$1=yes/gb_enable_\$1=no/' \
- acinclude.m4 \
- || die "sed no-automagic-patch failed"
- eend 0
-
- # Gentoo-specific patch
- epatch "${FILESDIR}/${PN}-2.5.0-mimetype-registration.patch"
-
- # gb.qt needs this patch because it does not use GB_COMPONENT_PKG_CONFIG in qt.gb/configure.ac
- epatch "${FILESDIR}/${PN}-2.7.0-r1-gb.qt-QT_LDFLAGS.patch"
-
- # help does not appear to need libtool, see acinclude.m4 for more info
- epatch "${FILESDIR}/${PN}-2.7.0-r1-help-GB_INIT_SHORT.patch"
-
- # Gentoo-specific patches for libtool compatibility
- epatch "${FILESDIR}/${PN}-2.7.0-r1-remove-libltdl-from-main.patch"
- epatch "${FILESDIR}/${PN}-2.8.0-libtool.patch"
-
- epatch "${FILESDIR}/${PN}-2.8.0-help-path.patch"
-
- # sdl_sound appears inconsistently named and disables itself
- epatch "${FILESDIR}/${PN}-2.8.0-sdl-component-name.patch"
-
- # Gentoo-specific patch
- epatch "${FILESDIR}/${PN}-2.8.2-FLAGS.patch"
-
- epatch "${FILESDIR}/${PN}-2.8.2-app-Makefile-install.patch"
- epatch "${FILESDIR}/${PN}-2.8.2-comp-Makefile-install.patch"
- epatch "${FILESDIR}/${PN}-2.8.2-examples-Makefile-install.patch"
-
- ebegin "Applying sed remove-libtool-patch"
- # Gentoo-specific patch, may be obsoleted in the future
- # Remove embedded libtool.m4 file
- sed -i -e '/[-][*][-]Autoconf[-][*][-]$/,/^dnl\ Like\ AC_CHECK_HEADER,\ but/d' \
- acinclude.m4 \
- || die "sed remove-libtool-patch failed"
- eend 0
-
- my_examine_components
-
- ebegin "Removing provided libtool/libltdl"
- rm -R ./main/libltdl \
- && rm config.guess config.sub install-sh ltmain.sh \
- && rm */config.guess */config.sub */install-sh */ltmain.sh \
- || die "removing libtool failed"
- eend 0
-
- ebegin "Reducing eautoreconf"
- # Keep synchronized with myconf in src_compile
- use bzip2 || my_reduce_eautoreconf bzlib2
- use zlib || my_reduce_eautoreconf zlib
- use mysql || my_reduce_eautoreconf mysql
- use odbc || my_reduce_eautoreconf odbc
- use postgres || my_reduce_eautoreconf postgresql
- use sqlite || my_reduce_eautoreconf sqlite2
- use sqlite3 || my_reduce_eautoreconf sqlite3
- use firebird || my_reduce_eautoreconf firebird
- use gtk || my_reduce_eautoreconf gtk
- use svg || my_reduce_eautoreconf gtksvg
- use pdf || my_reduce_eautoreconf pdf
- #net
- use curl || my_reduce_eautoreconf curl
- use smtp || my_reduce_eautoreconf smtp
- use pcre || my_reduce_eautoreconf pcre
- use qt3 || my_reduce_eautoreconf qt
- my_reduce_eautoreconf qte
- use kde || my_reduce_eautoreconf kde
- use sdl || my_reduce_eautoreconf sdl
- use sdl || my_reduce_eautoreconf sdl_sound
- use xml || my_reduce_eautoreconf xml
- use v4l || my_reduce_eautoreconf v4l
- #crypt
- use opengl || my_reduce_eautoreconf opengl
- use corba || my_reduce_eautoreconf corba
- { use qt3 || use gtk || \
- use sdl; } || my_reduce_eautoreconf image
- use qt3 || my_reduce_eautoreconf desktop
- # This may work in the future, but it does not work now.
-# { use qt3 || \
-# use gtk; } || my_reduce_eautoreconf desktop
-
- use doc || my_reduce_eautoreconf help
- use examples || my_reduce_eautoreconf examples
- eend 0
-
- eautoreconf || die "eautoreconf failed"
-}
-
-src_configure() {
- local myconf
- local myconf_main
- local myconf_qt
- local myconf_xml
-
- myconf="$(use_enable bzip2 bzlib2)
- $(use_enable zlib)
- $(use_enable mysql)
- $(use_enable odbc)
- $(use_enable postgres postgresql)
- $(use_enable sqlite sqlite2)
- $(use_enable sqlite3)
- $(use_enable firebird)
- $(use_enable gtk)
- $(use_enable svg gtksvg)
- $(use_enable pdf)
- --enable-net
- $(use_enable curl)
- $(use_enable smtp)
- $(use_enable pcre)
- $(use_enable qt3 qt)
- --disable-qte
- $(use_enable kde)
- $(use_enable sdl)
- $(use_enable sdl sdl_sound)
- $(use_enable xml)
- $(use_enable v4l)
- --enable-crypt
- $(use_enable opengl)
- $(use_enable corba)
- $( { use qt3 || use gtk || use sdl; } \
- && echo '--enable-image' || echo '--disable-image')
- $(use_enable qt3 desktop)"
- # This may work in the future, but it does not work now.
-# $( { use qt3 || use gtk; } && echo '--enable-desktop' || echo '--disable-desktop')"
-
- myconf_main="--enable-intl
- --enable-conv
- --enable-ffi
- --with-ffi-libraries=/usr/$(get_libdir)/gcc/${CHOST}/$(gcc-fullversion)/
- --enable-preloading"
-
- if use qt3; then
- myconf_qt="$(use_enable opengl qtopengl)
- --enable-qt-translation "
- fi
-
- myconf_xml="$(use_enable xml xslt)"
-
- econf --config-cache \
- ${myconf} ${myconf_main} ${myconf_qt} ${myconf_xml} \
- $(use_enable debug) --disable-profiling \
- --docdir=/usr/share/doc/${PF} --htmldir=/usr/share/doc/${PF}/html
-}
-
-my_dekstop_and_icon () {
- # USAGE: <executable> <name> <category> <icon_source_file> <icon_target_dir>
- local icon="${1}.png"
-
- make_desktop_entry "${1}" "${2}" "${5}/${icon}" "${3}" \
- || die "make_desktop_entry failed for ${1}"
-
- insinto ${5}
- newins ${4} ${icon} || die "newins failed for ${1}"
-}
-
-src_install() {
- emake DESTDIR="${D}" install -j1 || die "emake install failed"
-
- dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
- newdoc gb.net/src/doc/README gb.net-README || die "newdoc failed"
- newdoc gb.net/src/doc/changes.txt gb.net-ChangeLog || die "newdoc failed"
- use pcre && { newdoc gb.pcre/src/README gb.pcre-README || die "newdoc failed"; }
-
- if use qt3 || use gtk; then
- use qt3 && \
- my_dekstop_and_icon \
- "${MY_PN}" "Gambas" "Development" \
- "app/src/${MY_PN}/img/logo/new-logo.png" \
- "/usr/share/icons/hicolor/128x128/apps"
-
- my_dekstop_and_icon \
- "${MY_PN}-database-manager" "Gambas Database Manager" "Development" \
- "app/src/${MY_PN}-database-manager/img/logo/logo-128.png" \
- "/usr/share/icons/hicolor/128x128/apps"
-
- insinto /usr/share/icons/hicolor/64x64/mimetypes
- doins app/mime/application-x-gambasscript.png main/mime/application-x-gambas.png \
- || die "doins failed"
-
- insinto /usr/share/mime/application
- doins app/mime/application-x-gambasscript.xml main/mime/application-x-gambas.xml \
- || die "doins failed"
- fi
-
- use doc && { dosym "/usr/share/${MY_PN}/help" "/usr/share/doc/${PF}/html" \
- || die "dosym failed"; }
-}
-
-my_fdo_update() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
-}
-
-pkg_postinst() {
- my_fdo_update
-}
-
-pkg_postrm() {
- my_fdo_update
-}