Add autoconf-wrapper

Provides all the autoconf scripts and redirects them to the
required version (by parsing existing configure files)
This commit is contained in:
Christoph Reiter 2022-01-16 10:05:44 +01:00
parent a6098dd23f
commit f3b26f0fb5

29
autoconf-wrapper/PKGBUILD Normal file
View File

@ -0,0 +1,29 @@
# Maintainer: Christoph Reiter <reiter.christoph@gmail.com>
pkgname=autoconf-wrapper
pkgver=15
pkgrel=1
pkgdesc="Wrapper scripts for autoconf commands"
arch=('any')
license=('spdx:GPL-2.0-only')
url="https://packages.gentoo.org/packages/sys-devel/autoconf-wrapper"
depends=(
'bash'
'sed'
'autoconf2.71'
'autoconf2.69'
'autoconf2.13')
source=("ac-wrapper-${pkgver}.sh::https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-devel/autoconf-wrapper/files/ac-wrapper-${pkgver}.sh?id=bff583ede76fd4f7ab5b21399ff72bfce15634aa")
sha256sums=('707a9b003d43bcd6701df4ae65abf8e449a8b9337ec91a86ef17e8e76e48942b')
provides=("autoconf")
conflicts=("autoconf")
replaces=("autoconf")
package() {
mkdir -p ${pkgdir}/usr/bin
for prog in autoconf autoheader autom4te autoreconf autoscan autoupdate ifnames
do
cp "${srcdir}/ac-wrapper-${pkgver}.sh" "${pkgdir}/usr/bin/${prog}"
done
}