updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / memfetch / PKGBUILD
blobbe8fcc3ee12786d44cb6ac9e77c2c6c92160b948
1 #Maintainer: Leif Thande <leif.thande@gmail.com>
2 #Contributor: CRT <crt.011@gmail.com>
3 pkgname=memfetch
4 pkgver=0.05b
5 pkgrel=1
6 pkgdesc="dumps any userspace process memory without affecting its execution"
7 url="http://lcamtuf.coredump.cx/"
8 license="GPL"
9 makedepends=('make')
10 arch=('any')
11 source=('http://lcamtuf.coredump.cx/soft/memfetch.tgz' 'memfetch_pagesize.patch')
12 md5sums=('00dcc9e59de408dd0409835fcf866910'
13          'df8f11c26522ee0eccd150e05de80a33')
15 build() {
16   cd "${srcdir}/${pkgname}"
17   patch -p0 "${srcdir}/${pkgname}"/memfetch.c < "${srcdir}"/memfetch_pagesize.patch
18   make 
19   install -D -m755 "${srcdir}/${pkgname}"/memfetch "${pkgdir}"/usr/bin/memfetch
20   install -D -m755 COPYING "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE