blob: 95267dcc20262ccd0f56b430def75593127a368e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Dan Printzell <me@vild.io>
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"
}
|