• kixik@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    5 days 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 @fratermus@lemmy.sdf.org

  • Frater Mus@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    6 days 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