diff --git a/config/source.json b/config/source.json index 8ccb7416..3c052a26 100644 --- a/config/source.json +++ b/config/source.json @@ -357,8 +357,9 @@ } }, "pkg-config": { - "type": "url", - "url": "https://gitlab.freedesktop.org/pkg-config/pkg-config/-/archive/pkg-config-0.29.2/pkg-config-pkg-config-0.29.2.tar.gz", + "type": "filelist", + "url": "https://pkgconfig.freedesktop.org/releases/", + "regex": "/href=\"(?pkg-config-(?[^\"]+)\\.tar\\.gz)\"/", "license": { "type": "file", "path": "COPYING"