summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Dewender2015-06-16 01:01:02 +0200
committerJohannes Dewender2015-06-16 01:01:02 +0200
commita9f0cd26eeb07bf4c37d186111f795a85bff9523 (patch)
tree5b7b2642b336d6d8d11229eb56f5acfb404d0c84
parent2bc2a1780415e079157808c6406b30e84afb128a (diff)
downloadaur-bzr-gtk.tar.gz
add bzr-gtk.install
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD6
-rw-r--r--bzr-gtk.install12
3 files changed, 20 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dee78b5325e1..3aae3582b5c3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index fdf0a33392b8..474864e44ade 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
+}