Skip to content

feat: add AUR support with GitHub Actions CI/CD - #6

Open
noahlyk wants to merge 25 commits into
krob64:mainfrom
noahlyk:main
Open

feat: add AUR support with GitHub Actions CI/CD#6
noahlyk wants to merge 25 commits into
krob64:mainfrom
noahlyk:main

Conversation

@noahlyk

@noahlyk noahlyk commented Apr 14, 2026

Copy link
Copy Markdown

Summary

  • Add .github/workflows/pr.yml for PR builds on Ubuntu runner
  • Add .github/workflows/release.yml for semantic versioning and releases
  • Add root PKGBUILD for building from source on Arch
  • Add aur/ directory with AUR PKGBUILD, install script, and .SRCINFO
  • Add proper .gitignore

This enables easy building on Arch Linux and AUR package submission

Build was tested locally and compiles successfully.

Steps to get it on the AUR

You can safely pull this anytime, and you can setup it to push to the AUR if you:

  1. get an AUR account
  2. Create a new sh ed25519 keypair
  3. Add public key to your AUR account settings
  4. Add the private key as AUR_SSH_KEY secret in GitHub repo Settings → Secrets and variables → Actions → Repository secrets. This will give the git workflow permission to push to AUR.

krob64 and others added 5 commits April 20, 2026 03:28
- Add .github/workflows/pr.yml for PR builds on Ubuntu
- Add .github/workflows/release.yml for semantic versioning and releases
- Add root PKGBUILD for building from source
- Add aur/ directory with AUR PKGBUILD, install script, and .SRCINFO
- Add proper .gitignore
Remove alpha discard from fragment shader and enable Vulkan alpha
blending so crosshairs with transparency render correctly.
When crosshair-maker is installed, automatically use the currently
selected crosshair from ~/.config/crosshair-maker/projects/current.png
as the default overlay image. Users can still override with KROSSHAIR_IMG.
Drop the KROSSHAIR_SCALE env var (hardcode scale to 1). Rewrite README
to focus on crosshair-maker integration, remove nixos/requirements
sections, and update AUR install messages to match.
@noahlyk
noahlyk force-pushed the main branch 2 times, most recently from 1839d6e to c2f927e Compare April 21, 2026 05:49
@noahlyk
noahlyk force-pushed the main branch 2 times, most recently from 45a6e3e to 9d7ccfd Compare April 21, 2026 06:30
noahlyk and others added 12 commits April 20, 2026 23:33
…cleanup

- Move vertices array from global to per-swapchain (fixes multi-swapchain)
- Make debug logging conditional via NDEBUG (add make release target)
- Build CI on archlinux:latest instead of Ubuntu for AUR compatibility
- Fix duplicate .apng check in get_crosshair_path (was missing .gif)
- Fix fmt_phys_device memory leak in instance_data_map_physical_devices
- Remove unused static_vk_resources_t struct
- Rename gif_* fields to anim_* (used for both GIF and APNG)
- Include crosshairs/ and krosshair.install in both PKGBUILDs
- Replace all printf with KROSSHAIR_LOG
…ormulas)

- Fix hue_rotate: S=original, L=1.0-original_L (was setting S=1, L=1 making white)
- Fix saturate: L=1.0-original_L (was setting L=1 making white)
- Regenerated SPIR-V headers from fixed GLSL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants