# Maintainer: Dan Printzell pkgname=('workspace-d') pkgver=3.5.0 pkgrel=1 pkgdesc="Wraps dcd, dfmt and dscanner to one unified environment managed by dub" arch=('i686' 'x86_64') url="https://github.com/Pure-D/workspace-d" license=("MIT") groups=('dlang') makedepends=('dmd' 'git' 'dub') depends=('libphobos' 'dub' 'dcd' 'dfmt' 'dscanner') source=( "git+https://github.com/Pure-D/workspace-d#tag=v${pkgver}" ) sha256sums=( 'SKIP' ) prepare() { cd "$srcdir/workspace-d" dub upgrade } build() { cd "$srcdir/workspace-d" dub build --build=release } package() { # binaries install -Dm755 "$srcdir/workspace-d/workspace-d" "$pkgdir/usr/bin/workspace-d" # license install -Dm644 "$srcdir/workspace-d/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }