From 156c078f644d78dcb15be6655902a7aafca0f96e Mon Sep 17 00:00:00 2001 From: Márcio Silva Date: Tue, 8 May 2012 19:08:32 -0300 Subject: icedove-libre-11.0-2: adding icedove icon desktop --- libre/icedove-libre/PKGBUILD | 15 ++++++++++----- libre/icedove-libre/icedove.desktop | 13 +++++++++++++ 2 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 libre/icedove-libre/icedove.desktop diff --git a/libre/icedove-libre/PKGBUILD b/libre/icedove-libre/PKGBUILD index ae628d5d8..8600db7aa 100644 --- a/libre/icedove-libre/PKGBUILD +++ b/libre/icedove-libre/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer : Márcio Silva # Maintainer : André Silva -# We're getting this from Debian Sid +# We're getting this from Debian Experimental _debname=icedove _debver=11.0 _debrel=1 @@ -11,14 +11,14 @@ debfile() { echo $@|sed -r 's@(.).*@\1/&/&@'; } _pkgname=${_debname} pkgname=${_debname}-libre pkgver=${_debver} -pkgrel=1 +pkgrel=2 pkgdesc="A libre version of Debian Icedove, the Standalone Mail/News reader based on Mozilla thunderbird." arch=('i586' 'i686' 'x86_64' 'mips64el') license=('GPL2' 'MPL' 'LGPL') depends=('alsa-lib' 'dbus-glib' 'desktop-file-utils' 'gtk2' 'hicolor-icon-theme' 'hunspell' 'libevent' 'libnotify' 'libvpx' 'libxt' 'mime-types' 'mozilla-common' 'nss' 'sqlite3' 'startup-notification') makedepends=('unzip-libre' 'zip' 'pkg-config' 'python2' 'wireless_tools' 'yasm' 'mesa' 'autoconf2.13' 'quilt') optdepends=('libcanberra: for sound support') -url="http://packages.debian.org/source/sid/${_pkgname}" +url="http://packages.debian.org/source/experimental/${_pkgname}" install=$_pkgname.install source=("${_debrepo}/`debfile ${_debname}`_${_debver}.orig.tar.bz2" "${_debrepo}/`debfile ${_debname}`_${_debver}-${_debrel}.debian.tar.gz" @@ -28,7 +28,8 @@ source=("${_debrepo}/`debfile ${_debname}`_${_debver}.orig.tar.bz2" gcc47.patch clrf.patch makefile.patch - searchplugins-libre.patch) + searchplugins-libre.patch + ${_pkgname}.desktop) md5sums=('0d4aaf892cd1cbf9bda38928947025fe' 'd4401c080fe5190e8bb1326f10808231' 'd6d58d3104a44624e0a3d227cdf1c211' @@ -37,7 +38,8 @@ md5sums=('0d4aaf892cd1cbf9bda38928947025fe' '94d5cd599ccc4438f192d8daabf98b6a' 'c395d443a8c4c16880c7322bcf174743' 'c4ed43e85945e180a89cce03e45ec62c' - '6a1d132b0275876678cb0b08c527805a') + '6a1d132b0275876678cb0b08c527805a' + 'e785e0c267f4435ae1a9aa0b03bcacfb') build() { export QUILT_PATCHES=debian/patches @@ -83,6 +85,9 @@ package() { done install -Dm644 "debian/app-icons/${_pkgname}_icon.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${_pkgname}.svg" + install -Dm644 "$srcdir/${_pkgname}.desktop" \ + "$pkgdir/usr/share/applications/${_pkgname}.desktop" + rm -rf "${pkgdir}"/usr/lib/${_pkgname}/{dictionaries,hyphenation} ln -sf /usr/share/hunspell "${pkgdir}/usr/lib/${_pkgname}/dictionaries" ln -sf /usr/share/hyphen "${pkgdir}/usr/lib/${_pkgname}/hyphenation" diff --git a/libre/icedove-libre/icedove.desktop b/libre/icedove-libre/icedove.desktop new file mode 100644 index 000000000..ef2cd76e9 --- /dev/null +++ b/libre/icedove-libre/icedove.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Version=1.0 +Name=Icedove +Comment=Mail & News Reader +GenericName=Mail Client & News Reader +Exec=icedove %u +TryExec=icedove +Icon=icedove +Terminal=false +Type=Application +Categories=Network;Email; +MimeType=message/rfc822;x-scheme-handler/mailto; +StartupNotify=true -- cgit v1.2.3