mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
24 lines
620 B
Bash
24 lines
620 B
Bash
# Contributor: Mathijs Kadijk <mkadijk@gmail.com>
|
|
|
|
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
|
|
}
|