From def641a9314f6d8d6aedd2e4b10e9b7abc695bcb Mon Sep 17 00:00:00 2001 From: Gaute Hope Date: Thu, 2 Mar 2017 14:37:49 +0100 Subject: [PATCH] install new icon --- .SRCINFO | 5 +++-- PKGBUILD | 7 ++++--- astroid.install | 12 ++++++++++++ 3 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 astroid.install diff --git a/.SRCINFO b/.SRCINFO index 6e655db..2a53b58 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,10 +1,11 @@ # Generated by mksrcinfo v8 -# Tue Feb 28 12:58:01 UTC 2017 +# Thu Mar 2 13:37:32 UTC 2017 pkgbase = astroid-git pkgdesc = a graphical threads-with-tags style, lightweight and fast, email client for notmuch, inspired by sup and others - pkgver = v0.7.r0.g10a1f7a + pkgver = v0.7.r56.ge4c070d pkgrel = 1 url = https://github.com/astroidmail/astroid + install = astroid.install arch = x86_64 arch = i686 license = GPL diff --git a/PKGBUILD b/PKGBUILD index cd6d88b..60b5bc5 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,7 @@ # Maintainer: Gaute Hope -pkgname=astroid-git -pkgver=v0.7.r0.g10a1f7a +_pkgname=astroid +pkgname=$_pkgname-git +pkgver=v0.7.r56.ge4c070d pkgrel=1 epoch= pkgdesc="a graphical threads-with-tags style, lightweight and fast, email client for notmuch, inspired by sup and others" @@ -19,7 +20,7 @@ conflicts=() replaces=() backup=() options=() -install= +install=$_pkgname.install changelog= source=(astroid::git+https://github.com/astroidmail/astroid.git) noextract=() diff --git a/astroid.install b/astroid.install new file mode 100644 index 0000000..5f3cb01 --- /dev/null +++ b/astroid.install @@ -0,0 +1,12 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} +