diff options
author | Dan Printzell | 2017-07-24 04:10:53 +0200 |
---|---|---|
committer | Dan Printzell | 2017-07-24 04:10:53 +0200 |
commit | 7379c2830f3ad621ac31149d96f6a1ace7365308 (patch) | |
tree | 57d8d1642c16a703d94292738b274ec9bd0ab4d2 /PKGBUILD | |
parent | 1badc94b684fd9e335703506d14c9657435e2e84 (diff) | |
download | aur-7379c2830f3ad621ac31149d96f6a1ace7365308.tar.gz |
Quoting variables and stuff
Signed-off-by: Dan Printzell <xwildn00bx@gmail.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -2,7 +2,7 @@ pkgname=('workspace-d') pkgver=2.11.0 -pkgrel=1 +pkgrel=2 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" @@ -21,21 +21,20 @@ sha256sums=( ) prepare() { - cd $srcdir/workspace-d + cd "$srcdir/workspace-d" git submodule update --init --recursive dub upgrade } build() { - cd $srcdir/workspace-d + cd "$srcdir/workspace-d" dub build - strip workspace-d } -package(){ - cd $srcdir/workspace-d - +package() { # binaries - mkdir -p $pkgdir/usr/bin - install -m755 -t $pkgdir/usr/bin ./workspace-d + 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" } |