From 32c5d2233aa14d2a0a1d3d81ecd28652cd548f07 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sat, 14 Mar 2009 13:16:04 -0500 Subject: Moving shared-mime-info to core-testing. gtk2 depends on it, so this removed a cross repo dependency. --- abs/core-testing/shared-mime-info/PKGBUILD | 22 ++++++++++++++++++++++ .../shared-mime-info/shared-mime-info.install | 12 ++++++++++++ abs/extra-testing/shared-mime-info/PKGBUILD | 22 ---------------------- .../shared-mime-info/shared-mime-info.install | 12 ------------ 4 files changed, 34 insertions(+), 34 deletions(-) create mode 100644 abs/core-testing/shared-mime-info/PKGBUILD create mode 100644 abs/core-testing/shared-mime-info/shared-mime-info.install delete mode 100644 abs/extra-testing/shared-mime-info/PKGBUILD delete mode 100644 abs/extra-testing/shared-mime-info/shared-mime-info.install diff --git a/abs/core-testing/shared-mime-info/PKGBUILD b/abs/core-testing/shared-mime-info/PKGBUILD new file mode 100644 index 0000000..4850139 --- /dev/null +++ b/abs/core-testing/shared-mime-info/PKGBUILD @@ -0,0 +1,22 @@ +# $Id: PKGBUILD 15025 2008-10-12 10:43:09Z jgc $ +# Maintainer: Jan de Groot + +pkgname=shared-mime-info +pkgver=0.51 +pkgrel=1 +pkgdesc="Freedesktop.org Shared MIME Info" +arch=(i686 x86_64) +license=('GPL') +depends=('libxml2>=2.6.32' 'glib2>=2.18.1') +makedepends=('perlxml' 'pkgconfig') +install=shared-mime-info.install +url="http://freedesktop.org/Software/shared-mime-info" +source=(http://freedesktop.org/~hadess/${pkgname}-${pkgver}.tar.bz2) +md5sums=('01d72161f7d88123fbccd378871f02f0') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --disable-update-mimedb || return 1 + make || return 1 + make DESTDIR="${pkgdir}" install || return 1 +} diff --git a/abs/core-testing/shared-mime-info/shared-mime-info.install b/abs/core-testing/shared-mime-info/shared-mime-info.install new file mode 100644 index 0000000..6b06094 --- /dev/null +++ b/abs/core-testing/shared-mime-info/shared-mime-info.install @@ -0,0 +1,12 @@ +post_install() { + update-mime-database /usr/share/mime > /dev/null 2>&1 +} + +post_upgrade() { + post_install $1 +} + +op=$1 +shift + +$op $* diff --git a/abs/extra-testing/shared-mime-info/PKGBUILD b/abs/extra-testing/shared-mime-info/PKGBUILD deleted file mode 100644 index 4850139..0000000 --- a/abs/extra-testing/shared-mime-info/PKGBUILD +++ /dev/null @@ -1,22 +0,0 @@ -# $Id: PKGBUILD 15025 2008-10-12 10:43:09Z jgc $ -# Maintainer: Jan de Groot - -pkgname=shared-mime-info -pkgver=0.51 -pkgrel=1 -pkgdesc="Freedesktop.org Shared MIME Info" -arch=(i686 x86_64) -license=('GPL') -depends=('libxml2>=2.6.32' 'glib2>=2.18.1') -makedepends=('perlxml' 'pkgconfig') -install=shared-mime-info.install -url="http://freedesktop.org/Software/shared-mime-info" -source=(http://freedesktop.org/~hadess/${pkgname}-${pkgver}.tar.bz2) -md5sums=('01d72161f7d88123fbccd378871f02f0') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr --disable-update-mimedb || return 1 - make || return 1 - make DESTDIR="${pkgdir}" install || return 1 -} diff --git a/abs/extra-testing/shared-mime-info/shared-mime-info.install b/abs/extra-testing/shared-mime-info/shared-mime-info.install deleted file mode 100644 index 6b06094..0000000 --- a/abs/extra-testing/shared-mime-info/shared-mime-info.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - update-mime-database /usr/share/mime > /dev/null 2>&1 -} - -post_upgrade() { - post_install $1 -} - -op=$1 -shift - -$op $* -- cgit v0.12