• kixik@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 hour ago

    The AUR PKGBUILD shows a pretty simple recipe:

    build() {
      arch-meson "${pkgname}-${pkgver//+/-}" build
      meson compile -C build
    }
    
    package() {
      meson install -C build --destdir "${pkgdir}"
      # permission fix
      chmod 755 "${pkgdir}/usr/bin/ascii-draw"
    }
    

    I’ve been seeing arch-meson often used, but haven’t explored what it does. Some day…

    Though it’s way more fun to use text specification, like the one referenced by @[email protected]

  • Libra00@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 hours ago

    I don’t have an answer for you, I’d never heard of ASCIIFlow, but holy shit that takes me back to an oooold piece of DOS software called FormTool. Used to make dungeon maps and character sheets and such with it back in the early 90s. Good times.

  • Frater Mus@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    15 hours ago

    This sent me down a rabbit hole since it’s something I’ve half-considering for a while. I prefer text configuration rather than GUI so I ended up installing graph-easy on my debian laptop:

    sudo apt install libgraph-easy-perl

    and made a first attempt to diagram the power setup in my campervan

    It’s a perl module but the graph-easy wrapper makes it behave like any other CLI tool. cat or echo the config text to the wrapper and the graph pops out on STDOUT