void-packages/srcpkgs/dub/template

24 lines
514 B
Bash

# Template file for 'dub'
pkgname=dub
version=1.17.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=1b5d5331223faf1320d33c0fbca48811f48893f5dcb57d5a5df8cf2ae3d845e7
nocross="requires dmd"
do_build() {
./build.sh
}
do_install() {
vbin bin/dub
vlicense LICENSE
}