summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFlorian Loitsch2024-04-13 16:20:45 +0200
committerFlorian Loitsch2024-04-13 16:20:45 +0200
commitcf69b2c5483d0adbb8b7b27824582a564da49130 (patch)
treec5fa25e0c387408dc8df0285041e6cd0f8439edb /PKGBUILD
parent9caba112d5b2590328809e87e9e3ce56479d48f3 (diff)
downloadaur-toit-git.tar.gz
Add 'toit' executable.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bf6aed4c72a9..8bd7049da74b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Florian Loitsch <florian@toit.io>
pkgname=toit-git
pkgver=VERSION
-pkgrel=9
+pkgrel=10
pkgdesc="Toit programming language SDK"
arch=('x86_64')
url="https://toitlang.org"
@@ -46,6 +46,7 @@ package() {
cd "$srcdir/${pkgname%-git}"
make DESTDIR="$pkgdir/" install
mkdir -p "$pkgdir/usr/bin"
+ ln -s "/opt/toit-sdk/bin/toit" "$pkgdir/usr/bin"
ln -s "/opt/toit-sdk/bin/toit.run" "$pkgdir/usr/bin"
ln -s "/opt/toit-sdk/bin/toit.compile" "$pkgdir/usr/bin"
ln -s "/opt/toit-sdk/bin/toit.pkg" "$pkgdir/usr/bin"