# Template file for 'dub'
pkgname=dub
version=1.10.0
revision=1
hostmakedepends="dmd"
makedepends="libcurl-devel"
depends="dmd"
short_desc="Package/build management system for D projects"
maintainer="Follpvosten <wolfi@karpador.xyz>"
license="MIT"
homepage="https://github.com/dlang/dub"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=db6c3a9e45408d2431bc3d1138a31b561fb71665c1d89db4b0cb3725b2b12faa
nocross="because of dmd, see template line 26"

do_build() {
	./build.sh
}

do_install() {
	vbin bin/dub
	vlicense LICENSE
}
