[arch-commits] Commit in human-icon-theme/trunk (PKGBUILD human-icon-theme.install)
Evangelos Foutras
foutrelis at archlinux.org
Mon Mar 23 06:48:10 UTC 2015
Date: Monday, March 23, 2015 @ 07:48:10
Author: foutrelis
Revision: 129775
upgpkg: human-icon-theme 0.36-4
- Lower minimum size for scalable icons; fixes issue with oversized
emblem-imporant icon in Evolution (FS#44241).
- Create icon theme cache file.
Added:
human-icon-theme/trunk/human-icon-theme.install
Modified:
human-icon-theme/trunk/PKGBUILD
--------------------------+
PKGBUILD | 13 +++++++++++--
human-icon-theme.install | 13 +++++++++++++
2 files changed, 24 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-03-23 03:30:44 UTC (rev 129774)
+++ PKGBUILD 2015-03-23 06:48:10 UTC (rev 129775)
@@ -4,19 +4,28 @@
pkgname=human-icon-theme
pkgver=0.36
-pkgrel=3
+pkgrel=4
pkgdesc="Ubuntu's Human icon theme"
arch=('any')
url="http://launchpad.net/human-icon-theme/"
license=('custom:cc-by-sa-2.5')
-depends=('tangerine-icon-theme')
+depends=('tangerine-icon-theme' 'gtk-update-icon-cache')
makedepends=('intltool' 'gettext' 'imagemagick' 'icon-naming-utils' 'librsvg'
'python2')
+install=$pkgname.install
source=(http://archive.ubuntu.com/ubuntu/pool/universe/h/$pkgname/${pkgname}_$pkgver.tar.gz
archlinux-icon-crystal-48.svg)
sha256sums=('56d9c9da5fe161634f28bdc45171f3f615034819fbf45f1f7bf4bf9675c59777'
'6c5307e8a8ae06970c16278db557184dd91366bf6233ca55d2b7de942e66b821')
+prepare() {
+ cd "$srcdir/$pkgname"
+
+ # Lower minimum size for scalable icons; fixes issue with oversized
+ # emblem-imporant icon in Evolution (FS#44241)
+ sed -i 's/MinSize=32/MinSize=8/' index.theme.in
+}
+
build() {
cd "$srcdir/$pkgname"
Added: human-icon-theme.install
===================================================================
--- human-icon-theme.install (rev 0)
+++ human-icon-theme.install 2015-03-23 06:48:10 UTC (rev 129775)
@@ -0,0 +1,13 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/Human
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list