Hi ! I just made my first AUR package, which was really fun, and I was wondering what your own experience was like. Why did you decide to make your first packages ? What was fun, what was annoying ? What problems did you have ? Had you been using Arch for long ?

Mine was nothing complicated, just packaging a bash game with no dependencies made by someone else… because I wanted to try it and I was too lazy to install it from source 😅 Just the thought of having to manually check for updates and reinstall exhausts me and my adhd calculated that learning how to make a package would be less effort (never try to argue with adhd maths).

I did have some trouble because the game wanted its config and other files in $HOME and didn’t create them directly (it was done by an install script run when installing it manually from source), but obviously I couldn’t make the package create them there, which really confused the hell outta me. In the end the creator of the game kindly send me links to AUR packages that other people had done for his other projects so I could see what they had done and I did and did the same, which was to put the files in the locations recommended by the specs like /etc and /usr, and to added a post-install message telling the user to copy/paste some commands to copy the files in $HOME. It’s a bit clunky but I guess it works 🥳

The fun part for me was learning more about how packages were installed, and the reason behind the specs. It’s fine reading that packages shouldn’t create files in $HOME but it doesn’t tell me WHY. Also it’s a lot more fun to try anyway even knowing it’s a bad idea, just to see what kind of mess happens (turns out it couldn’t install because /root/.config was missing 😂 )

If you had told me a year and a half ago when I switched to linux that I’d end up making a package, I’d probably have thought that you were crazy 😁

  • zenforyen@feddit.org
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    1 day ago

    Congratulations!

    I also created a little AUR package or two or manually fixed some broken PKGBUILDs sporadically, and yeah it’s something you can figure out in a day when you have a little bit of understanding of the command line overall.

    Arch AUR is really a nice sweet spot between power and convenience.

    My boss at work is using Gentoo. I guess that’s why he’s my boss. No, but seriously, the Gentoo build system sounds much more complex. Yes, you can control compilation flags and tweak every package up to absurd details, but I’m willing to sacrifice the few percent of performance.

    Whereas, AUR is simple enough to be used by ADHD folks like us :D If it’s more work than a weekend project, I don’t care about it. I know I will most likely give up on it if I don’t need it to survive.

    • phantomwise@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      17 hours ago

      Thanks ! I was really surprised to see that the whole process wasn’t really that complicated to understand –at least for a very simple bash program, I haven’t tried yet with something that needs compiling. I too really like how convenient and ADHD friendly Arch and the AUR are, coming from Windows it’s like heaven 😭 I can’t even imagine what it must be like to use Gentoo. Or LFS, because at that point why not !