diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/smem | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/smem')
-rw-r--r-- | community/smem/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/smem/PKGBUILD b/community/smem/PKGBUILD new file mode 100644 index 000000000..ed89c55d9 --- /dev/null +++ b/community/smem/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 91603 2013-05-25 11:22:11Z bpiotrowski $ +# Maintainer: Federico Cinelli <cinelli@aur.archlinux.org> +# Contributor: Dave Reisner <d@falconindy.com> +# Contributor: Isaac Dupree <id@isaac.cedarswampstudios.org> +# Contributor: Sebastien Duquette <ekse.0x@gmail.com> + +pkgname=smem +pkgver=1.3 +pkgrel=2 +pkgdesc="Generate reports on memory usage." +url="http://www.selenic.com/smem/" +license=("GPL") +depends=('python2') +optdepends=('python2-matplotlib: for chart generation') +arch=('i686' 'x86_64') +source=("http://www.selenic.com/smem/download/$pkgname-$pkgver.tar.gz") +md5sums=('dd849102610aadb9f64379db09e73d41') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + sed -i '1s/python$/python2/' smem + make smemcap +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + install -Dm755 smem "$pkgdir/usr/bin/smem" + install -Dm755 smemcap "$pkgdir/usr/bin/smemcap" + install -Dm644 smem.8 "$pkgdir/usr/share/man/man8/smem.8" +} + |