summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Vihrov2016-06-11 18:02:48 +0300
committerAndrey Vihrov2016-06-11 18:02:48 +0300
commit818721178dfc5085ecea8fba77e70a746fbbc3b8 (patch)
tree58c6ecad81d992336c6cad6501800736e3be3a58
parentedadd2c7efadb393e7de675e33ae13fd83ef2684 (diff)
downloadaur-818721178dfc5085ecea8fba77e70a746fbbc3b8.tar.gz
Use pacman hooks
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD3
-rw-r--r--mist-icon-theme.install24
3 files changed, 3 insertions, 29 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3c9f0d513412..9f113709cf3e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 960a752f63c0..9d0be3247870 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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}"
-}