Task Todo List Remove usage of makepkg subroutines from PKGBUILDs

2020-01-17 - David Runge

The use of makepkg subroutines has been discussed in an old ticket [1].
In 2017 a warning about this was added to namcap and recently the wiki has been been updated to reflect this [2].
A list of packages (with false positives) can be found here [3].

Time for a cleanup!

As a sidenote: If you find, that you are shadowing a test run in check() (e.g. `test || warning "Test is broken"`) please consider *why* you are doing this and whether only a subset of the tests can be run instead (e.g. because parts of the tests are integration tests anyways, that can not be run in makechrootpkg).

EDIT:

After the creation of this TODO, all the functions in this list was made available through libmakepkg and can be considered fine to use inside PKGBUILDs.

[1] https://bugs.archlinux.org/task/43502
[2] https://wiki.archlinux.org/index.php/Arch_package_guidelines#Package_etiquette
[3] https://pkgbuild.vdwaa.nl/?q=(msg%20%7Cmsg2%20%7Cwarning%20%7Cerror%20%7Cplain%20)&i=nope&files=.*%2Ftrunk%2FPKGBUILD&repos=

Link to lists of pkgbase values:

Filter Todo List Packages

Select filter criteria
64 packages displayed out of 64 total packages.
Arch Repository Name Current Version Staging Version Maintainers Status Last Touched By
x86_64 Core bash 5.1.016-4 felixonmars, anthraxx, grazzolini Complete anthraxx
x86_64 Extra bind 9.18.15-1 seblu Complete heftig
x86_64 Extra bird 2.13-1 seblu Complete Foxboron
x86_64 Core btrfs-progs 6.3-2 tpowa, seblu Complete tpowa
x86_64 Core coreutils 9.3-1 seblu Complete Foxboron
x86_64 Core diffutils 3.10-1 seblu Complete Foxboron
any Extra dkms 3.0.11-1 seblu Complete Foxboron
x86_64 Core file 5.44-3 seblu Complete Foxboron
x86_64 Extra firefox 113.0.2-1 heftig Complete heftig
any Extra geoip-database 20230519-1 foutrelis Complete foutrelis
x86_64 Core glibc 2.37-3 grazzolini, freswa Complete foutrelis
x86_64 Core grep 3.11-1 seblu Complete Foxboron
x86_64 Core gzip 1.12-2 seblu Complete Foxboron
x86_64 Extra ipset 7.17-1 seblu Complete anthraxx
x86_64 Extra jasper 4.0.0-1 anthraxx Complete anthraxx
x86_64 Extra jsoncpp 1.9.5-2 anthraxx Complete anthraxx
x86_64 Multilib lib32-gettext 0.21.1-1 felixonmars Complete Foxboron
x86_64 Multilib lib32-libappindicator-gtk2 12.10.0-13 anthraxx Complete Foxboron
x86_64 Multilib lib32-libappindicator-gtk3 12.10.0-13 anthraxx Complete Foxboron
x86_64 Multilib lib32-libdbusmenu-glib 16.04.0-5 anthraxx Complete Foxboron
x86_64 Multilib lib32-libdbusmenu-gtk2 16.04.0-5 anthraxx Complete Foxboron
x86_64 Multilib lib32-libdbusmenu-gtk3 16.04.0-5 anthraxx Complete Foxboron
x86_64 Multilib lib32-libindicator-gtk2 12.10.1-9 anthraxx Complete Foxboron
x86_64 Multilib lib32-libindicator-gtk3 12.10.1-9 anthraxx Complete Foxboron
x86_64 Multilib lib32-pcre 8.45-3 felixonmars Complete Foxboron
x86_64 Multilib lib32-readline 8.2.001-2 felixonmars, grazzolini Complete Foxboron
x86_64 Core libnftnl 1.2.5-1 seblu Complete Foxboron
x86_64 Core linux 6.3.5.arch1-1 tpowa, heftig, anthraxx, dvzrv Complete heftig
x86_64 Extra linux-hardened 6.1.29.hardened1-1 anthraxx Complete anthraxx
x86_64 Core linux-lts 6.1.31-1 andyrtr Complete heftig
x86_64 Extra linux-zen 6.3.5.zen1-1 heftig, dvzrv Complete heftig
x86_64 Extra lua-lpeg 1.0.2-4 eworm Complete eworm
x86_64 Core lz4 1:1.9.4-1 seblu Complete Foxboron
x86_64 Extra nftables 1:1.0.7-2 seblu Complete Foxboron
x86_64 Extra numactl 2.0.16-1 dvzrv Complete dvzrv
any Extra ovmf Complete anatolik
x86_64 Core patch 2.7.6-10 seblu Complete Foxboron
x86_64 Core pcre 8.45-3 seblu Complete Foxboron
any Extra perl-io-socket-ssl 2.083-1 felixonmars Complete Foxboron
any Extra perl-xml-twig 3.52-10 felixonmars Complete Foxboron
x86_64 Extra postgresql 15.3-1 anthraxx Complete anthraxx
any Extra python-beaker 1.12.0-3 felixonmars Complete Foxboron
any Extra python-isort alerque Complete alerque
any Extra python-pip 23.1.2-1 dvzrv Complete Foxboron
x86_64 Extra python-pycurl 7.45.2-3 felixonmars Complete Foxboron
any Extra python-pyelftools 0.29-2 remy, anthraxx Complete anthraxx
any Extra python-pyopenssl 23.1.1-2 Complete Foxboron
x86_64 Extra quagga 1.2.4-7 seblu Complete Foxboron
x86_64 Core readline 8.2.001-2 felixonmars, anthraxx, grazzolini Complete Foxboron
x86_64 Extra refind-efi Complete dvzrv
x86_64 Extra rust 1:1.69.0-3 heftig, demize Complete heftig
any Extra scons 4.4.0-3 dvzrv Complete dvzrv
x86_64 Core sed 4.9-3 seblu Complete Foxboron
x86_64 Extra spamassassin 4.0.0-1 bluewind Complete bluewind
x86_64 Extra swig 4.1.1-2 felixonmars Complete Foxboron
x86_64 Core tar 1.34-2 seblu Complete Foxboron
x86_64 Extra ulogd 2.0.8-1 seblu Complete Foxboron
x86_64 Extra valgrind 3.21.0-1 anthraxx Complete anthraxx
x86_64 Extra vim 9.0.1572-1 anthraxx, Foxboron, blakkheim Complete anthraxx
x86_64 Extra vlc 3.0.18-9 anthraxx, dvzrv Complete anthraxx
x86_64 Multilib wine 8.9-1 felixonmars Complete Foxboron
x86_64 Multilib wine-staging 8.9.1-1 felixonmars Complete Foxboron
any Core wireless-regdb 2023.05.03-1 tpowa Complete Foxboron
x86_64 Core wpa_supplicant 2:2.10-8 foutrelis, Foxboron Complete Foxboron