updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / ps_mem / PKGBUILD
blob6b8773de899209b25a0d6f72edcd88d79f6805c6
1 # Maintainer: Kyle Keen <keenerd@gmail.com>
2 # Contributor: Ali Gündüz <gndz.ali@gmail.com>
3 pkgname=ps_mem
4 pkgver=2.6
5 pkgrel=1
6 pkgdesc="List processes by memory usage"
7 arch=(any)
8 url="http://www.pixelbeat.org/scripts/"
9 license=('GPL')
10 depends=('python2')
11 source=("https://raw.github.com/pixelb/scripts/master/scripts/$pkgname.py")
12 md5sums=('b253d9c1c001ed8f2b026e44001d818d')
14 build() {
15   cd "$srcdir"
16   sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' ps_mem.py
17   install -Dm755 ps_mem.py "$pkgdir/usr/bin/$pkgname"