blob: b8463366d55ed1174584c444c4fef5a533cce4e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Maintainer: Chinmay Dalal <00foahcd7@mozmail.com>
# Contributor: Lukas Fleischer <lfleischer@archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
pkgname=autoconf2.69
pkgver=2.69
pkgrel=8
pkgdesc="A GNU tool for automatically configuring source code (Legacy 2.69 version)"
arch=('any')
license=('GPL2' 'GPL3' 'custom')
url="https://www.gnu.org/software/autoconf"
groups=('base-devel')
depends=('awk' 'm4' 'diffutils' 'perl' 'sh')
makedepends=('help2man') # needed while perl patch is present
checkdepends=('gcc-fortran')
source=("https://ftp.gnu.org/pub/gnu/autoconf/autoconf-${pkgver}.tar.xz"
'0001-autoconf-2.69-perl-5.22-autoscan.patch'
'0002-autoconf-2.69-perl-5.28.patch'
'0003-autoconf-2.69-libtool-compatibility.patch'
'0004-Port-tests-to-Bash-5.patch')
md5sums=('50f97f4159805e374639a73e2636f22e'
'aa07afe5a671df25bf1878831702d5b9'
'f450ce6001458d800907e5d4ad8023fb'
'87bceda7922ebc2a453568b2ae179e1b'
'd656c3a43462f678cf72848ca16ad6e2')
conflicts=('autoconf')
prepare() {
cd autoconf-"${pkgver}"
# fix incompatibility with recent perl
patch -p1 -i "$srcdir"/0001-autoconf-2.69-perl-5.22-autoscan.patch
patch -p1 -i "$srcdir"/0002-autoconf-2.69-perl-5.28.patch
# fix tesetsuite failures with recent libtool
patch -p1 -i "$srcdir"/0003-autoconf-2.69-libtool-compatibility.patch
patch -p1 -i "$srcdir"/0004-Port-tests-to-Bash-5.patch
}
build() {
cd autoconf-"${pkgver}"
./configure --prefix=/usr --program-suffix=-2.69
make
}
check() {
cd "${srcdir}/autoconf-${pkgver}"
make check
}
package() {
cd "${srcdir}/autoconf-${pkgver}"
make DESTDIR="${pkgdir}" install
# license exception
install -Dm644 COPYING.EXCEPTION "$pkgdir"/usr/share/licenses/autoconf/COPYING.EXCEPTION
# remove unwanted file
rm -f "$pkgdir"/usr/share/info/standards.info
mv "${pkgdir}"/usr/share/info/autoconf{,-2.69}.info
}
|