void-packages/srcpkgs/dub/template
2020-06-16 19:43:15 +02:00

23 lines
520 B
Bash

# Template file for 'dub'
pkgname=dub
version=1.21.0
revision=1
hostmakedepends="dmd dtools"
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=320d96453b4a9a36a2d8716307cebe44f53638e06f425a7cc0d7d4dc9379bbe7
nocross="requires dmd"
do_build() {
./build.d
}
do_install() {
vbin bin/dub
vlicense LICENSE
}