Package Details: dyalog-bin 18.2.45405-2

Git Clone URL: https://aur.archlinux.org/dyalog-bin.git (read-only, click to copy)
Package Base: dyalog-bin
Description: Dyalog APL interpreter
Upstream URL: https://www.dyalog.com/download-zone.htm
Licenses: custom
Submitter: stilvoid
Maintainer: stilvoid
Last Packager: stilvoid
Votes: 2
Popularity: 0.000426
First Submitted: 2021-05-15 15:39 (UTC)
Last Updated: 2022-06-21 16:37 (UTC)

Latest Comments

hurufu commented on 2023-07-19 17:20 (UTC)

Please add dotnet-core-3.1-bin as an optional dependency to prevent warning at startup, otherwise it has to be started like this: env DYALOG_NETCORE=0 dyalog.

stilvoid commented on 2022-06-21 16:38 (UTC)

Thanks @akamayu! I've incorporated your suggestions :)

akamayu commented on 2022-06-20 15:31 (UTC) (edited on 2022-06-20 15:33 (UTC) by akamayu)

A new script, dyalogscript, was added in version 18.2, so people can execute APL files in shell. Here is a patch on PKGBUILD so it installs the script.

--- PKGBUILD    2022-06-20 22:43:59.537773815 +0800
+++ PKGBUILD    2022-06-20 22:59:13.435815461 +0800
@@ -45,14 +45,22 @@
   mkdir -p $pkgdir/usr/share/doc
   mkdir -p $pkgdir/usr/bin

+
   # Binary
   cp -a $srcdir/opt/mdyalog/${pkgver%.*}/64/unicode/* $pkgdir/usr/share/dyalog/
+  sed \
+    -e "s|/opt/mdyalog/${pkgver%.*}/64/unicode|/usr/share/dyalog|" \
+    -e '6i SCRIPTDIR="/usr/bin"' \
+    $srcdir/opt/mdyalog/${pkgver%.*}/64/unicode/scriptbin/dyalogscript \
+    > $pkgdir/usr/share/dyalog/scriptbin/dyalogscript

   # Docs
   cp -a $srcdir/usr/share/doc/* $pkgdir/usr/share/doc/

   # Launcher
   ln -s /usr/share/dyalog/dyalog $pkgdir/usr/bin/dyalog
+  ln -s /usr/share/dyalog/scriptbin/dyalogscript $pkgdir/usr/bin/dyalogscript

   # Licence
   install -Dm644 LICENSE.pdf "$pkgdir/usr/share/licenses/$pkgname/LICENSE.pdf"

Maybe the program should be install to /opt/... as stated in Dyalog's guide 1, so we won't have to change those hardcoded paths in the future?

jjunho commented on 2021-12-26 09:25 (UTC)

Only works after installing ncurses5-compat-libs. Please update dependency.

germanp82 commented on 2021-11-23 13:06 (UTC)

Fails to run due to missing dependency: ncurses5-compat-libs

stilvoid commented on 2021-11-11 11:10 (UTC)

Whoops, I missed the email notifying me about the latest version. Updated now, thanks :)

hannu commented on 2021-09-19 13:26 (UTC)

The PKGBUILD needs these changes:

pkgver=18.0.40684
# ...
options=('!strip')
source=(
    "$pkgname-$pkgver.deb::https://www.dyalog.com/uploads/php/download.dyalog.com/download.php?file=18.0/linux_64_${pkgver}_unicode.x86_64.deb"
)
sha256sums=(
    "5b609bb177b3e6e3d39cce66181d6d321b1508a883f19a261508b59e46492b0f"
)