summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoranthraxx2016-03-12 13:29:33 +0100
committeranthraxx2016-03-12 13:29:33 +0100
commite9a13c0777402dbbce9dd0e44faa427ca94d683a (patch)
treede58791c55af95f4ed37cbcd7a1a66b377e9edcf
parent8719b62dd7e08139e0890e38afbb6310dc0997e7 (diff)
downloadaur-e9a13c0777402dbbce9dd0e44faa427ca94d683a.tar.gz
upgpkg: scanmem-git 0.15.4.751.6a5e2e8-1
upstream release
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD16
-rw-r--r--drop-gtk-update-icon.patch16
3 files changed, 7 insertions, 31 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 70036433f7b..3918ecd49e2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sat Mar 12 00:01:16 UTC 2016
+# Sat Mar 12 12:29:33 UTC 2016
pkgbase = scanmem-git
pkgdesc = Memory scanner designed to isolate the address of an arbitrary variable in an executing process
- pkgver = 0.15.4.20.g063c588
+ pkgver = 0.15.4.751.6a5e2e8
pkgrel = 1
url = https://github.com/scanmem/scanmem
install = scanmem.install
@@ -17,9 +17,7 @@ pkgbase = scanmem-git
provides = scanmem
conflicts = scanmem
source = scanmem-git::git+https://github.com/scanmem/scanmem.git
- source = drop-gtk-update-icon.patch
sha512sums = SKIP
- sha512sums = 5df78e2dcdaf5c2bf355911f9851375ffeed819dd50bfdc47c5cb8096eaa9b7aa69b7852b937b782661e27d213d8543309dedd92ada38e225fd1375e3f12fe3c
pkgname = scanmem-git
diff --git a/PKGBUILD b/PKGBUILD
index 1e37cf8e607..cfe320d34b5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Allen Choong <allencch at hotmail dot com>
pkgname=scanmem-git
-pkgver=0.15.4.20.g063c588
+pkgver=0.15.4.751.6a5e2e8
pkgrel=1
pkgdesc="Memory scanner designed to isolate the address of an arbitrary variable in an executing process"
url="https://github.com/scanmem/scanmem"
@@ -13,19 +13,13 @@ conflicts=('scanmem')
depends=('pygtk' 'python-gobject' 'polkit')
makedepends=('git' 'intltool')
install=scanmem.install
-source=(${pkgname}::git+https://github.com/scanmem/scanmem.git
- drop-gtk-update-icon.patch)
-sha512sums=('SKIP'
- '5df78e2dcdaf5c2bf355911f9851375ffeed819dd50bfdc47c5cb8096eaa9b7aa69b7852b937b782661e27d213d8543309dedd92ada38e225fd1375e3f12fe3c')
+source=(${pkgname}::git+https://github.com/scanmem/scanmem.git)
+sha512sums=('SKIP')
pkgver() {
cd ${pkgname}
- git describe --always|sed 's|-|.|g'|sed -r 's|v(.*)|\1|'
-}
-
-prepare() {
- cd ${pkgname}
- patch -Rp1 < "${srcdir}/drop-gtk-update-icon.patch"
+ printf "%s.%s.%s" "$(git describe --tags --abbrev=0|sed -r 's|-|.|g'|sed -r 's|v?(.*)|\1|')" \
+ "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
diff --git a/drop-gtk-update-icon.patch b/drop-gtk-update-icon.patch
deleted file mode 100644
index b005f02a1e0..00000000000
--- a/drop-gtk-update-icon.patch
+++ /dev/null
@@ -1,16 +0,0 @@
- 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