robinovitch61 / wander

A terminal app/TUI for HashiCorp Nomad

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Arch User Repositories as goreleaser target

robinovitch61 opened this issue · comments

@moyiz nicely submitted wander to the ArchLinux AUR in #77

I should add this as a target for future releases with goreleaser so it doesn't get out of date: https://goreleaser.com/customization/aur/

@moyiz , in order to have goreleaser update https://aur.archlinux.org/packages/wander-bin, I believe I'd need write access to wander-bin. I just created an account as user robinovitch61 on AUR. If you could transfer me ownership or take down your package so I can create my own that will stay up to date, that would be great. Also I'm very unfamiliar with AUR, so let me know if I'm misunderstanding things here.

@robinovitch61 I have added you as co-maintainer, you should be able to push PKGBUILD now. Let me know if all goes smoothly and when you are done setting up goreleaser so I will disown myself as maintainer. Is that ok?

@moyiz that worked great, thank you! https://aur.archlinux.org/cgit/aur.git/log/?h=wander-bin

❯ docker run -it --platform linux/amd64 --rm testcab/yay bash
Unable to find image 'testcab/yay:latest' locally
latest: Pulling from testcab/yay
18edd8528297: Pull complete
d9c33f167662: Pull complete
fd1f96a871bc: Pull complete
d3c9c2322f01: Pull complete
ac219ea3a20b: Pull complete
Digest: sha256:ccb0f98370f9086f2ca6c0af3d8b5c379f083f74ba78652ad536097263169284
Status: Downloaded newer image for testcab/yay:latest
[makepkg@133d2b218e9e ~]$ yay -S wander-bin

:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  wander-bin-0.12.3-1

:: (1/1) Downloaded PKGBUILD: wander-bin
  1 wander-bin                               (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> :: (1/1) Parsing SRCINFO: wander-bin
==> Making package: wander-bin 0.12.3-1 (Thu 16 Nov 2023 05:48:52 PM UTC)
==> Retrieving sources...
  -> Downloading wander-bin_0.12.3_x86_64.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 4764k  100 4764k    0     0  3449k      0  0:00:01  0:00:01 --:--:--  9.9M
==> Validating source_x86_64 files with sha256sums...
    wander-bin_0.12.3_x86_64.tar.gz ... Passed
==> Making package: wander-bin 0.12.3-1 (Thu 16 Nov 2023 05:49:11 PM UTC)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found wander-bin_0.12.3_x86_64.tar.gz
==> Validating source_x86_64 files with sha256sums...
    wander-bin_0.12.3_x86_64.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting wander-bin_0.12.3_x86_64.tar.gz with bsdtar
==> Sources are ready.
==> Making package: wander-bin 0.12.3-1 (Thu 16 Nov 2023 05:49:45 PM UTC)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "wander-bin"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: wander-bin 0.12.3-1 (Thu 16 Nov 2023 05:50:05 PM UTC)
==> Cleaning up...
loading packages...
resolving dependencies...
looking for conflicting packages...

Package (1)  New Version  Net Change

wander-bin   0.12.3-1      12.06 MiB

Total Installed Size:  12.06 MiB

:: Proceed with installation? [Y/n]
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing wander-bin...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[makepkg@133d2b218e9e ~]$ wander
[makepkg@133d2b218e9e ~]$ wander -v
wander version v0.12.3