PKGBUILDs/aur/ps_mem/PKGBUILD

20 lines
551 B
Bash

# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Ali Gündüz <gndz.ali@gmail.com>
pkgname=ps_mem
pkgver=3.1
pkgrel=1
pkgdesc="List processes by memory usage"
arch=(any)
url="http://www.pixelbeat.org/scripts/"
license=('GPL')
# compatible with both py2 and py3
depends=('python')
#source=("https://raw.github.com/pixelb/scripts/master/scripts/$pkgname.py")
source=("http://www.pixelbeat.org/scripts/$pkgname.py")
md5sums=('536c0e561f27fb80cd11a8309946259a')
build() {
cd "$srcdir"
install -Dm755 ps_mem.py "$pkgdir/usr/bin/$pkgname"
}