diff options
author | soloturn | 2020-10-04 04:28:59 +0200 |
---|---|---|
committer | soloturn | 2020-10-04 04:28:59 +0200 |
commit | bf14e59a1a4ce059d1fe37cc2e89b524ee572c70 (patch) | |
tree | 8fe1d314b94e8926dae06bc1a523405179f64f1b | |
parent | db9762bcdc829c24da480611e1310ced14b6122f (diff) | |
download | aur-bf14e59a1a4ce059d1fe37cc2e89b524ee572c70.tar.gz |
mv built into package
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -106,11 +106,9 @@ build() { } package() { - cd "$pkgdir" - mkdir -p "$pkgdir/opt" "$pkgdir/usr/bin" - # unpack the produced tar, to pack it again. how to avoid this pack-unpack-pack? - tar xvf $srcdir/swift.tar.gz - ln -s /opt/swift/swift-linux-$CARCH/bin/{lldb-moduleimport-test,sil-extract,sil-opt,swift,swift-autolink-extract,swiftc,swift-demangle,swift-ide-test,swift-llvm-opt} "$pkgdir/usr/bin" + mv /opt/swift $pkgdir + # mkdir -p "$pkgdir/opt" "$pkgdir/usr/bin" + # ln -s /opt/swift/swift-linux-$CARCH/bin/{lldb-moduleimport-test,sil-extract,sil-opt,swift,swift-autolink-extract,swiftc,swift-demangle,swift-ide-test,swift-llvm-opt} "$pkgdir/usr/bin" } # vim:set ts=2 sw=2 et: |