summaryrefslogtreecommitdiff
path: root/libre/icedove-libre
diff options
context:
space:
mode:
authorMárcio Silva <marcio@pc-02.localdomain>2012-05-08 19:08:32 -0300
committerMárcio Silva <marcio@pc-02.localdomain>2012-05-08 19:08:32 -0300
commit156c078f644d78dcb15be6655902a7aafca0f96e (patch)
treeace62bd0de9e8f24d6384186ffd40a9a1e16be58 /libre/icedove-libre
parent10bf519ae838013df87144565e48cff05fbb4dbc (diff)
icedove-libre-11.0-2: adding icedove icon desktop
Diffstat (limited to 'libre/icedove-libre')
-rw-r--r--libre/icedove-libre/PKGBUILD15
-rw-r--r--libre/icedove-libre/icedove.desktop13
2 files changed, 23 insertions, 5 deletions
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 <coadde@adinet.com.uy>
# Maintainer : André Silva <andre.paulista@adinet.com.uy>
-# 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