diff options
author | Mikael Blomstrand | 2019-09-16 09:11:28 +0200 |
---|---|---|
committer | Mikael Blomstrand | 2019-09-16 09:11:28 +0200 |
commit | 53013c129ac56189ecafca6be96ac51645c54629 (patch) | |
tree | 6d582ab696823c2f1cfc651089af976ccf227326 | |
parent | 8d89a9c5141e2de3b9954fcf63d61bfb3039beaa (diff) | |
download | aur-53013c129ac56189ecafca6be96ac51645c54629.tar.gz |
applied diff from comment [1]
[1] https://aur.archlinux.org/packages/scala-dotty/#comment-641502
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -13,10 +13,10 @@ source=("https://github.com/lampepfl/dotty/releases/download/$_pkgverWithHyphen/ sha1sums=('1a62c5459f0294c08a221aa5ebb197ab9bb83978') package() { - mkdir -p "$pkgdir/usr/bin" "$pkgdir/opt/scala-dotty" - cp -r "$srcdir/dotty-$_pkgverWithHyphen/bin" "$pkgdir/opt/scala-dotty" - cp -r "$srcdir/dotty-$_pkgverWithHyphen/lib" "$pkgdir/opt/scala-dotty" - ln -s "/opt/scala-dotty/bin/dotc" "$pkgdir/usr/bin/dotc" - ln -s "/opt/scala-dotty/bin/dotd" "$pkgdir/usr/bin/dotd" - ln -s "/opt/scala-dotty/bin/dotr" "$pkgdir/usr/bin/dotr" + mkdir -p "$pkgdir/usr/bin" "$pkgdir/usr/share/scala-dotty" + cp -r "$srcdir/dotty-$_pkgverWithHyphen/bin" "$pkgdir/usr/share/scala-dotty" + cp -r "$srcdir/dotty-$_pkgverWithHyphen/lib" "$pkgdir/usr/share/scala-dotty" + ln -s "/usr/share/scala-dotty/bin/dotc" "$pkgdir/usr/bin/dotc" + ln -s "/usr/share/scala-dotty/bin/dotd" "$pkgdir/usr/bin/dotd" + ln -s "/usr/share/scala-dotty/bin/dotr" "$pkgdir/usr/bin/dotr" } |