summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormatclab2018-04-21 19:07:31 +0200
committermatclab2018-04-21 19:07:31 +0200
commit11b2baa2fba05fdfd7b45707e91a19a9bc2e168a (patch)
tree736842aef7c68e5c2fbfd0467d8867f36690bd8b
parent317982d42837357204291d5c64cb9c47e34c8f63 (diff)
downloadaur-11b2baa2fba05fdfd7b45707e91a19a9bc2e168a.tar.gz
Add desktop file and homemade icon
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD18
-rw-r--r--notifymuch.desktop6
-rw-r--r--notifymuch.pngbin0 -> 35830 bytes
4 files changed, 26 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index baadee1fefac..42a952e1823b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = notifymuch-git
pkgdesc = Display desktop notifications for unread mail in notmuch database
pkgver = r39.9d4aaf5
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/kspi/notifymuch
arch = i686
arch = x86_64
@@ -10,9 +10,14 @@ pkgbase = notifymuch-git
depends = python
depends = notmuch
depends = python-setuptools
- provides = notifymuch
+ depends = hicolor-icon-theme
+ provides = notifymuch-git
source = notifymuch::git://github.com/kspi/notifymuch
+ source = notifymuch.desktop
+ source = notifymuch.png
md5sums = SKIP
+ md5sums = cdcb64c98b5abf94525bf37f0764287c
+ md5sums = 4f2822f4ea6ab4a5e935b03804fde698
pkgname = notifymuch-git
diff --git a/PKGBUILD b/PKGBUILD
index f452f1a6b553..82b2d7a2499b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,17 +2,21 @@
pkgname=notifymuch-git
pkgver=r39.9d4aaf5
-pkgrel=1
+pkgrel=2
pkgdesc="Display desktop notifications for unread mail in notmuch database"
arch=('i686' 'x86_64')
url="https://github.com/kspi/notifymuch"
license=('GPL2')
-provides=('notifymuch')
+provides=('notifymuch-git')
+conflict=()
makedepends=( 'pygobject-devel')
-depends=('python' 'notmuch' 'python-setuptools' )
+depends=('python' 'notmuch' 'python-setuptools' 'hicolor-icon-theme' )
optdeps=()
-source=('notifymuch::git://github.com/kspi/notifymuch')
-md5sums=('SKIP')
+source=('notifymuch::git://github.com/kspi/notifymuch' notifymuch.desktop
+notifymuch.png)
+md5sums=('SKIP'
+ 'cdcb64c98b5abf94525bf37f0764287c'
+ '4f2822f4ea6ab4a5e935b03804fde698')
build() {
@@ -23,6 +27,10 @@ build() {
package() {
cd $srcdir/notifymuch
python setup.py install --root=$pkgdir || return 1
+ install -m755 -d $pkgdir/usr/share/icons/hicolor/512x512/apps/
+ install -m644 $srcdir/notifymuch.png $pkgdir/usr/share/icons/hicolor/512x512/apps/
+ install -m755 -d $pkgdir/usr/share/applications/
+ install -m644 $srcdir/notifymuch.desktop $pkgdir/usr/share/applications/
}
diff --git a/notifymuch.desktop b/notifymuch.desktop
new file mode 100644
index 000000000000..18b637588118
--- /dev/null
+++ b/notifymuch.desktop
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Name=Notmuch notifier
+Exec=notifymuch
+Icon=notify.svg
+Type=Application
+Categories=GTK;GNOME;Utility;
diff --git a/notifymuch.png b/notifymuch.png
new file mode 100644
index 000000000000..7880161e82a4
--- /dev/null
+++ b/notifymuch.png
Binary files differ