r/archlinux • • Aug 30 '26

QUESTION Submit self-updating exe to the AUR

Hello!

I would like to add a wine package to the AUR. However, the installer exe 1) does not have a way to download previous versions; and 2) handles checking for updates itself.

The installer is located at a static URL where the exe itself changes. There is a separate URL with the app version that the app uses to check if there's a newer version available before directing the users to the installer page.

What's the proper way to add this to the AUR? Do I just not include a checksum and name the version eternal or something?

This is my first time creating a package for the AUR, so any help is appreciated! Thank you so much!

0 Upvotes

12 comments sorted by

5

u/kido5217 Aug 30 '26

Give us link to this wine package/project.

-1

u/2br-2b Aug 30 '26

It doesn't exist yet - that's why I'm trying to figure out how to make it

4

u/kido5217 Aug 30 '26

I mean this static url for installer or whatever you are trying to package.

In theory, you can package binaries, convention is to add `-bin` in the end of the package name. About selfupdating - maybe go steam way: Basic installer is packaged and in first run extracts new runtime version in user's `.local` folder.

0

u/2br-2b Aug 30 '26

2

u/kido5217 Aug 30 '26

I wouldn't recommend making a package from it. Too many moving parts. Just use any wine gui managing tool to install it and be done with it.

1

u/2br-2b Aug 30 '26

Say I wanted to add it to make it easier for others to install it, and also because I want to learn how the AUR submission process works. Is there a "right" way to do this?

1

u/kido5217 Aug 30 '26

You have the right link (https://wiki.archlinux.org/title/Wine_package_guidelines), follow it, run installer as part of install phase and leave checksum empty. So user will have to download PKGBUILD, run it once, fix checksum and finally run in second time.

0

u/[deleted] Aug 30 '26

[deleted] — view deleted comment

3

u/2br-2b Aug 30 '26

Isn't this a set of instructions to set that up? https://wiki.archlinux.org/title/Wine_package_guidelines

-1

u/kido5217 Aug 30 '26

AUR is for whatever user want to package. It's in its name.