example of embeding xterm into gtk2 app
[mirrors/Programs.git] / bash / zenman / PKGBUILD
1 # Contributor: Thomas Mudrunka <harvie@@email..cz>
2 # Maintainer: Thomas Mudrunka <harvie@@email..cz>
3 # You can also contact me on http://blog.harvie.cz/
4
5 pkgname=zenman
6 pkgver=1.8
7 pkgrel=2
8 pkgdesc="PacMan frontend (tray update notifier) for GTK/GNOME/zenity/libnotify. Simplier, more straightforward and less annoying Alunn alternative. zenman --help for more..."
9 arch=('any')
10 license=('GPL')
11 url="http://aur.archlinux.org/packages.php?ID=25948"
12 depends=('pacman' 'gksu' 'xterm' 'zenity' 'libnotify' 'bash')
13 optdepends=('espeak: Text-to-Speech update notification')
14 source=('zenman.bash')
15 md5sums=('7e56bc7df2a053faf37945b8dbe851df')
16
17 build() {
18 mkdir -p ${pkgdir}/usr/bin
19 #cp -f ${startdir}/zenman.bash ${pkgdir}/usr/bin/zenman
20 cp -f ${srcdir}/zenman.bash ${pkgdir}/usr/bin/zenman
21
22 mkdir -p ${pkgdir}/usr/share/applications
23
24 echo '[Desktop Entry]
25 Encoding=UTF-8
26 Name=ZenMan
27 Comment=Pacman frontend using zenity
28 Comment[cs]=Grafické rozhraní pro pacman založené na zenity
29 GenericName=Pacman Update Notifier
30 Type=Application
31 TryExec=/usr/bin/zenman
32 Exec=zenman
33 Icon=face-cool
34 Terminal=false
35 Categories=Application;System;
36 ' > ${pkgdir}/usr/share/applications/zenman.desktop
37
38 echo '[Desktop Entry]
39 Encoding=UTF-8
40 Name=ZenMan (stop)
41 Comment=STOP ZenMan
42 GenericName=Stop Pacman Update Notifier
43 Type=Application
44 TryExec=/usr/bin/zenman
45 Exec=zenman --stop
46 Icon=face-tired
47 Terminal=false
48 Categories=Application;System;
49 ' > ${pkgdir}/usr/share/applications/zenman-stop.desktop
50
51 chmod -R 755 ${pkgdir}/
52 }
This page took 0.736769 seconds and 4 git commands to generate.