desktop/iotop/PKGBUILD

27 lines
670 B
Bash
Raw Normal View History

2013-10-26 08:33:31 +08:00
pkgname=iotop
pkgver=0.6
pkgrel=6
2013-10-26 08:33:31 +08:00
pkgdesc="Python program with a top like UI used to show of behalf of which process is the I/O going on"
arch=('any')
url="http://guichaz.free.fr/iotop/"
license=('GPL')
2015-12-09 02:21:26 +08:00
depends=('python3')
2013-10-26 08:33:31 +08:00
source=(http://guichaz.free.fr/$pkgname/files/$pkgname-$pkgver.tar.bz2)
2015-12-09 02:21:26 +08:00
sha256sums=('3adea2a24eda49bbbaeb4e6ed2042355b441dbd7161e883067a02bfc8dcef75b')
2013-10-26 08:33:31 +08:00
2015-12-09 02:21:26 +08:00
prepare() {
cd "${srcdir}"/$pkgname-$pkgver
# Install binary to /usr/bin
sed -i '7,13d' setup.py
2013-10-26 08:33:31 +08:00
}
2015-12-09 02:21:26 +08:00
package() {
cd "${srcdir}"/$pkgname-$pkgver
python3 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
#FS#33906 fix
chmod 644 "${pkgdir}"/usr/share/man/man8/iotop.8
2016-04-03 23:19:21 +08:00
}