[arch-commits] Commit in scanmem/trunk (PKGBUILD drop-gtk-update-icon.patch)

Levente Polyak anthraxx at archlinux.org
Sat Mar 12 00:05:01 UTC 2016


    Date: Saturday, March 12, 2016 @ 01:05:00
  Author: anthraxx
Revision: 166170

upgpkg: scanmem 0.15.5-1

Added:
  scanmem/trunk/drop-gtk-update-icon.patch
Modified:
  scanmem/trunk/PKGBUILD

----------------------------+
 PKGBUILD                   |   15 +++++++++++----
 drop-gtk-update-icon.patch |   16 ++++++++++++++++
 2 files changed, 27 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-03-11 23:39:47 UTC (rev 166169)
+++ PKGBUILD	2016-03-12 00:05:00 UTC (rev 166170)
@@ -1,11 +1,11 @@
 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
 # Contributor: Michael P <ptchinster at archlinux.us>
-# Contributor: Aaron Griffin <aaron at archlinux.org> 
+# Contributor: Aaron Griffin <aaron at archlinux.org>
 # Contributor: Elmo Todurov <todurov at gmail.com>
 # Contributor: Alexander De Sousa <archaur.xandy21 at spamgourmet.com>
 
 pkgname=scanmem
-pkgver=0.15.4
+pkgver=0.15.5
 pkgrel=1
 pkgdesc="Memory scanner designed to isolate the address of an arbitrary variable in an executing process"
 url="https://github.com/scanmem/scanmem"
@@ -14,9 +14,16 @@
 depends=('pygtk' 'python-gobject' 'polkit')
 makedepends=('intltool')
 install=scanmem.install
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz)
-sha512sums=('0eac0b2f3c31f5ccec643bda38a3816a86aad3c507bdffd912d9391938ea3685f9651a23bb3324156d9f17ce4b2a64b205850882944ddaaa294df39655c959da')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz
+        drop-gtk-update-icon.patch)
+sha512sums=('e9d5c63a89a30462a8ab65a5426d13d36324984ca341f737a65756ee7b27e5621810ec730dc3c46718ce90400b63b7540594110d177496b43b8fe2ced7618247'
+            '5df78e2dcdaf5c2bf355911f9851375ffeed819dd50bfdc47c5cb8096eaa9b7aa69b7852b937b782661e27d213d8543309dedd92ada38e225fd1375e3f12fe3c')
 
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -Rp1 < "${srcdir}/drop-gtk-update-icon.patch"
+}
+
 build() {
   cd ${pkgname}-${pkgver}
   ./autogen.sh

Added: drop-gtk-update-icon.patch
===================================================================
--- drop-gtk-update-icon.patch	                        (rev 0)
+++ drop-gtk-update-icon.patch	2016-03-12 00:05:00 UTC (rev 166170)
@@ -0,0 +1,16 @@
+ gui/icons/Makefile.am | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/gui/icons/Makefile.am b/gui/icons/Makefile.am
+index e67c987..678d43f 100644
+--- a/gui/icons/Makefile.am
++++ b/gui/icons/Makefile.am
+@@ -6,3 +6,8 @@ EXTRA_DIST = $(icons48_DATA) $(icons72_DATA) $(icons128_DATA)
+ icon48dir = $(datadir)/icons/hicolor/48x48/apps
+ icon72dir = $(datadir)/icons/hicolor/72x72/apps
+ icon128dir = $(datadir)/icons/hicolor/128x128/apps
++
++install-data-hook:
++	if [ -n "`which gtk-update-icon-cache`" ]; then \
++		gtk-update-icon-cache $(datadir)/icons/hicolor; \
++	fi



More information about the arch-commits mailing list