• kixik@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    27 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

    • FuckBigTech347@lemmygrad.ml
      link
      fedilink
      arrow-up
      2
      ·
      26 days ago

      arch-meson is a small wrapper script for meson:

      $ cat /usr/bin/arch-meson
      #!/bin/bash -ex
      # Highly opinionated wrapper for Arch Linux packaging
      
      exec meson setup \
        --prefix        /usr \
        --libexecdir    lib \
        --sbindir       bin \
        --buildtype     plain \
        --auto-features enabled \
        --wrap-mode     nodownload \
        -D              b_pie=true \
        -D              python.bytecompile=1 \
        "$@"
      
  • phantomwise@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    26 days ago

    I’m not sure why you wouldn’t want the ASCII-Draw flatpak, but that’s not the only way to get it:

    • there’s a Snap
    • it can be installed from source
    • there’s also an AUR package

    But maybe you’re not on Arch, don’t like Snaps (can’t blame anyone for that) and don’t want to install from source (same)? What type of package are you looking for? Only native package? For which distro?

    • SpongeB0B@programming.devOP
      link
      fedilink
      arrow-up
      2
      ·
      25 days ago

      Ideally running the .py python foobar.py will be ideal, otherwise an .appimage

      I think I will have to build it my self (the .appimage ) :)

  • Libra00@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    27 days 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.

  • jjba23@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    26 days ago

    You might be interested in Emacs, it has (among many other things) artist-mode where you can draw with your cursor and obtain good ASCII art