Which one(s) and why?

  • lordnikon@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    9 months ago

    yeah I get dependency resolution from apt build-dep in Debian but like what commands do you use to build a package with the AUR. From what I read it’s

    search the AUR website git clone tar xf pag.tar makepkg -csi packagename

    am I missing something or is there an easier way that I am just not seeing?

    i promise I’m not trolling I really want to learn.

    • Jean_Lurk_Picard@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      9 months ago

      For me the benefit of AUR isn’t necessarily the ease of download. It’s the fact that it’s community based and anyone can build a package for any software. I always git clone and then makepkg. I hate using yay because I want to read the PKGBLD myself and check the hash. I’ve found some obscure software via AUR that I wouldn’t be able to easily download on other distros. Further more the AUR website allows comments from the community which encourages bug fixes and/or a dialogue with specific package issues.

    • I_poop_from_there@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      9 months ago

      In Manjaro you just run this command, there’s a GU package manager as well, but I’ve never used it. Pamac takes care of downloading / building any required dependencies and the AUR repo includes any required patches for the application run well on Arch / Manjaro.

      pamac build

      I haven’t used Arch in years, but I believe it was something similar.

      The whole system is pretty similar to, (but more refined than) FreeBSDs Ports tree.

      • lordnikon@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 months ago

        but can you search the AUR from the CLI or or do you still need to git clone then pacmac build with the package buildID?