Package Details: fltk-mod 1.3.7.10307-2

Git Clone URL: https://aur.archlinux.org/fltk-mod.git (read-only, click to copy)
Package Base: fltk-mod
Description: FLTK 1.3.7 using the latest abi version.
Upstream URL: http://www.fltk.org/
Licenses: LGPL
Conflicts: fltk
Provides: fltk
Submitter: hyperdriveguy
Maintainer: hyperdriveguy
Last Packager: hyperdriveguy
Votes: 0
Popularity: 0.000000
First Submitted: 2020-05-12 04:07 (UTC)
Last Updated: 2022-11-21 06:16 (UTC)

Required by (133)

Sources (1)

Latest Comments

DuBistKomisch commented on 2023-04-18 02:39 (UTC) (edited on 2023-04-18 02:39 (UTC) by DuBistKomisch)

This package (and your other packages by the looks of it) should be using fragments in the git URLs to select the commit, instead of manually checking it out. E.g. this change works for me:

diff --git a/PKGBUILD b/PKGBUILD
index 9b27a4c..6042087 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,14 +11,12 @@ depends=('libjpeg' 'libpng' 'zlib' 'libxinerama' 'libxft' 'libxcursor')
 makedepends=('git' 'make')
 provides=('fltk')
 conflicts=('fltk')
-source=("${pkgname}"::'git+https://github.com/fltk/fltk.git')
+source=("${pkgname}"::'git+https://github.com/fltk/fltk.git#commit=70ebfdb')
 sha256sums=('SKIP')

 build() {
   cd "$pkgname"

-  git checkout 70ebfdb
-
   chmod +x autogen.sh
   ./autogen.sh --prefix=/usr --with-abiversion=10307
   make

(or in this case you can also use #tag=release-1.3.7)

See https://man.archlinux.org/man/PKGBUILD.5#USING_VCS_SOURCES for details.

I'm complaining because every time there's a new commit pushed to the upstream repo, it causes my AUR helper to rebuild this package unnecessarily, which wouldn't happen if the fragment was used correctly.