# Contributor: Mathijs Kadijk pkgname=mytop pkgver=1.6 pkgrel=3 pkgdesc="A top clone for MySQL" arch=(i686 x86_64) url="http://jeremy.zawodny.com/mysql/mytop/" depends=('perl' 'perl-term-readkey' 'perl-dbd-mysql') license=('GPL') options=('!emptydirs') source=(http://jeremy.zawodny.com/mysql/mytop/mytop-${pkgver}.tar.gz) md5sums=('4127c3e486eb664fed60f40849372a9f') build() { cd ${startdir}/src/mytop-${pkgver} perl Makefile.PL make || return 1 make DESTDIR=${startdir}/pkg install || return 1 find $startdir/pkg -name '.packlist' -delete find $startdir/pkg -name '*.pod' -delete }