diff options
author | Johannes Dewender | 2015-06-16 01:01:02 +0200 |
---|---|---|
committer | Johannes Dewender | 2015-06-16 01:01:02 +0200 |
commit | a9f0cd26eeb07bf4c37d186111f795a85bff9523 (patch) | |
tree | 5b7b2642b336d6d8d11229eb56f5acfb404d0c84 | |
parent | 2bc2a1780415e079157808c6406b30e84afb128a (diff) | |
download | aur-a9f0cd26eeb07bf4c37d186111f795a85bff9523.tar.gz |
add bzr-gtk.install
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 6 | ||||
-rw-r--r-- | bzr-gtk.install | 12 |
3 files changed, 20 insertions, 3 deletions
@@ -1,14 +1,17 @@ pkgbase = bzr-gtk pkgdesc = Plugin for Bazaar that aims to provide GTK+ interfaces to most Bazaar operations. pkgver = 0.104.0 - pkgrel = 1 + pkgrel = 2 url = http://bazaar-vcs.org/bzr-gtk + install = bzr-gtk.install arch = any license = GPL depends = python2>=2.4 depends = python2-gobject2 depends = bzr>=2 depends = bzr<3 + depends = desktop-file-utils + depends = gtk-update-icon-cache optdepends = python2-cairo: Graphs in the visualisation tool optdepends = pygtksourceview2: Syntax-highlighted diffs optdepends = python2-nautilus: Nautilus integration @@ -3,18 +3,20 @@ # Contributor: Javier ‘Phrodo_00‘ Aravena <phrodo.00@gmail.com> pkgname=bzr-gtk pkgver=0.104.0 -pkgrel=1 +pkgrel=2 pkgdesc="Plugin for Bazaar that aims to provide GTK+ interfaces to most Bazaar operations." arch=('any') url="http://bazaar-vcs.org/bzr-gtk" license=('GPL') -depends=('python2>=2.4' 'python2-gobject2' 'bzr>=2' 'bzr<3') +depends=('python2>=2.4' 'python2-gobject2' 'bzr>=2' 'bzr<3' + 'desktop-file-utils' 'gtk-update-icon-cache') optdepends=( 'python2-cairo: Graphs in the visualisation tool' 'pygtksourceview2: Syntax-highlighted diffs' 'python2-nautilus: Nautilus integration' # 'pywin32: Olive' ) +install=bzr-gtk.install #makedepends=('bzr-stats') # currently not; build_credits disabled source=("https://launchpad.net/bzr-gtk/gtk3/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz" no_credits.patch) diff --git a/bzr-gtk.install b/bzr-gtk.install new file mode 100644 index 000000000000..6f9bcacd3069 --- /dev/null +++ b/bzr-gtk.install @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} |