@Damgaldor Indeed, that was my problem. The src
and/or pkg
sticking around end up causing files from older version to end up in the new package I built. The suggested solution is to either use --clean
(-c
) or --cleanbuild
(-C
). Alternatively you can always build in a clean directory manually.
- You can run
makepkg --clean
either on its own, before or after you build the package, which gets rid of those extra files. Using it asmakepkg -sic
(order doesn't matter), it will clean afterwards. (So if you already got dirty files around it can still mess things up.) - Or you can use
makepkg --cleanbuild -si
(or-Csi
for short) to clean things up beforehand, to make sure they never affect the package. - Or just use an AUR helper that takes care of all of this for you. (Lately I've been using
paru
, myself.) I just do it manually here since I'm maintaining the package.
Funnily enough, in years of maintaining this package, I've never noticed I've made that mistake.
Pinned Comments
copygirl commented on 2025-01-26 10:53 (UTC) (edited on 2025-01-26 12:04 (UTC) by copygirl)
Please note that you can flag the package out-of-date and I'll get a notification just the same as when you comment here. I'll always be sure to check for the latest version and update things accordingly. Use the comments to report issues or fixes regarding the package.
Typically I update the package within a day or so. If you don't want to wait, you can easily update the
PKGBUILD
yourself: In the case of a regular release, just update the_pkgver
field and replace the firstmd5sums
value withSKIP
, before runningmakepkg -Csi
or when your AUR helper asks you if you want to make changes before proceeding with the build / install.