diff options
Diffstat (limited to 'manualPorts/iotop/Pkgfile')
-rw-r--r-- | manualPorts/iotop/Pkgfile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/manualPorts/iotop/Pkgfile b/manualPorts/iotop/Pkgfile new file mode 100644 index 0000000..ef27c60 --- /dev/null +++ b/manualPorts/iotop/Pkgfile @@ -0,0 +1,25 @@ +# Description: Top like program to display I/O load. +# URL: http://guichaz.free.fr/iotop/ +# Maintainer: Erich Eckner, crux at eckner dot net +# Contributor: Lin SiFuh, #crux at freenode dot net +# Depends on: python3 + +name=iotop +version=0.6 +release=1 +source=(http://guichaz.free.fr/${name}/files/${name}-${version}.tar.bz2 \ + 0001-Make-setp.py-compatible-with-python3.patch) + +build() { + + cd "${name}"-"${version}" + + chmod ag+r iotop.8 + + patch -p1 -i "${SRC}"/0001-Make-setp.py-compatible-with-python3.patch + + /usr/bin/python3 setup.py install --root="${PKG}" --prefix=/usr + + rm -r "${PKG}"/usr/lib/python*/site-packages/iotop-*.egg-info + +} |