# Template file for 'mytop'
pkgname=mytop
version=10.1.48
revision=1
create_wrksrc=yes
depends="mariadb perl-Term-ReadKey perl-DBD-mysql"
short_desc="Top-like query monitor for MariaDB"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later"
homepage="https://mariadb.org/"
distfiles="https://raw.githubusercontent.com/MariaDB/server/mariadb-${version}/scripts/mytop.sh"
checksum=e639a6113740fe10c3f3a609feb08a71344e0ed6f6a8364bc4f4f751746f6ee3
skip_extraction="mytop.sh"

do_install() {
	vbin ${XBPS_SRCDISTDIR}/${pkgname}-${version}/mytop.sh mytop
}
