[arch-commits] Commit in (5 files)
Levente Polyak
anthraxx at archlinux.org
Thu Oct 22 23:21:13 UTC 2015
Date: Friday, October 23, 2015 @ 01:21:13
Author: anthraxx
Revision: 144749
addpkg: scanmem 0.15.3-1
Added:
scanmem/
scanmem/repos/
scanmem/trunk/
scanmem/trunk/PKGBUILD
scanmem/trunk/scanmem.install
-----------------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
scanmem.install | 23 +++++++++++++++++++++++
2 files changed, 55 insertions(+)
Added: scanmem/trunk/PKGBUILD
===================================================================
--- scanmem/trunk/PKGBUILD (rev 0)
+++ scanmem/trunk/PKGBUILD 2015-10-22 23:21:13 UTC (rev 144749)
@@ -0,0 +1,32 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Michael P <ptchinster at archlinux.us>
+# 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.3
+pkgrel=1
+pkgdesc="Memory scanner designed to isolate the address of an arbitrary variable in an executing process"
+url="https://github.com/scanmem/scanmem"
+arch=('i686' 'x86_64')
+license=('GPL3')
+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=('7f14e8a129321d7e58651d7e98ab71e58926465c98d256226ef7803fa7e42ba8bbe0879da8173ad2659deb655c73338db27d832a264b429f740331aee1f6d4b7')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./autogen.sh
+ ./configure --enable-gui --prefix=/usr
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:
Added: scanmem/trunk/scanmem.install
===================================================================
--- scanmem/trunk/scanmem.install (rev 0)
+++ scanmem/trunk/scanmem.install 2015-10-22 23:21:13 UTC (rev 144749)
@@ -0,0 +1,23 @@
+update_cache() {
+ if [ -x usr/bin/xdg-icon-resource ]; then
+ xdg-icon-resource forceupdate --theme hicolor > /dev/null 2>&1
+ fi
+
+ if [ -x usr/bin/update-desktop-database ]; then
+ usr/bin/update-desktop-database -q
+ fi
+}
+
+post_install() {
+ update_cache
+}
+
+post_upgrade() {
+ update_cache
+}
+
+post_remove() {
+ update_cache
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list