diff options
author | Andrey Vihrov | 2016-06-11 18:02:48 +0300 |
---|---|---|
committer | Andrey Vihrov | 2016-06-11 18:02:48 +0300 |
commit | 818721178dfc5085ecea8fba77e70a746fbbc3b8 (patch) | |
tree | 58c6ecad81d992336c6cad6501800736e3be3a58 | |
parent | edadd2c7efadb393e7de675e33ae13fd83ef2684 (diff) | |
download | aur-818721178dfc5085ecea8fba77e70a746fbbc3b8.tar.gz |
Use pacman hooks
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | mist-icon-theme.install | 24 |
3 files changed, 3 insertions, 29 deletions
@@ -1,11 +1,10 @@ # Generated by mksrcinfo v8 -# Sat Mar 12 21:12:36 UTC 2016 +# Sat Jun 11 15:00:39 UTC 2016 pkgbase = mist-icon-theme pkgdesc = Mist icon theme pkgver = 2.32.1 - pkgrel = 4 + pkgrel = 5 url = https://wiki.gnome.org/GnomeArt - install = mist-icon-theme.install arch = any license = GPL makedepends = intltool @@ -4,14 +4,13 @@ pkgname=mist-icon-theme pkgver=2.32.1 -pkgrel=4 +pkgrel=5 pkgdesc="Mist icon theme" arch=('any') url="https://wiki.gnome.org/GnomeArt" license=('GPL') depends=('gtk-update-icon-cache') makedepends=('intltool' 'gtk-engines' 'icon-naming-utils') -install="mist-icon-theme.install" source=("https://download.gnome.org/sources/gnome-themes/${pkgver%.*}/gnome-themes-${pkgver}.tar.bz2") sha256sums=('8601ee24c2e096593221cbd6ebdb6686042225a03c02a01c0d67c163f9febd1a') diff --git a/mist-icon-theme.install b/mist-icon-theme.install deleted file mode 100644 index 12be2249c204..000000000000 --- a/mist-icon-theme.install +++ /dev/null @@ -1,24 +0,0 @@ -ICONDIR="/usr/share/icons/Mist" - -update_icon_cache() { - echo "Updating GTK icon cache..." || return 1 - gtk-update-icon-cache -f -t "${ICONDIR}" || return 1 -} - - -# arg 1: the new package version -post_install() { - update_icon_cache -} - -# arg 1: the new package version -# arg 2: the old package version -post_upgrade() { - update_icon_cache -} - -# arg 1: the old package version -post_remove() { - update_icon_cache - rmdir "${ICONDIR}" -} |