[arch-commits] Commit in easytag/trunk (PKGBUILD easytag.install)

Kevin Piché kevin at archlinux.org
Thu Nov 5 20:05:16 UTC 2009


    Date: Thursday, November 5, 2009 @ 15:05:15
  Author: kevin
Revision: 58185

upgpkg: easytag 2.1.6-2
    Fixed FS#14009 & 16291: wrong mimeinfo

Added:
  easytag/trunk/easytag.install
Modified:
  easytag/trunk/PKGBUILD

-----------------+
 PKGBUILD        |    7 ++++++-
 easytag.install |   12 ++++++++++++
 2 files changed, 18 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-11-05 19:49:22 UTC (rev 58184)
+++ PKGBUILD	2009-11-05 20:05:15 UTC (rev 58185)
@@ -4,13 +4,14 @@
 
 pkgname=easytag
 pkgver=2.1.6
-pkgrel=1
+pkgrel=2
 pkgdesc="Utility for viewing, editing and writing ID3 tags of your MP3 files"
 arch=(i686 x86_64)
 license=('GPL')
 url="http://easytag.sourceforge.net/"
 depends=('id3lib' 'libid3tag' 'gtk2' 'libvorbis' 'flac>=1.2.1' 'libmp4v2'
 'speex' 'wavpack')
+install=easytag.install
 source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
 md5sums=('6c5b9dc2bf1f3b0a11bd4efc81aaa9ee')
 
@@ -19,4 +20,8 @@
   ./configure --prefix=/usr
   make || return 1
   make DESTDIR=${startdir}/pkg install
+
+  # Remove directory mimetype.
+  sed '/^MimeType=/ s@;x-directory/normal;@;@' \
+      -i ${pkgdir}/usr/share/applications/easytag.desktop
 }

Added: easytag.install
===================================================================
--- easytag.install	                        (rev 0)
+++ easytag.install	2009-11-05 20:05:15 UTC (rev 58185)
@@ -0,0 +1,12 @@
+post_install() {
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  update-desktop-database -q
+}
+
+post_remove() {
+  update-desktop-database -q
+}
+




More information about the arch-commits mailing list