12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- # Maintainer (Arch): Allan McRae <allan@archlinux.org>
- # Contributor (Arch): Andreas Radke <andyrtr@archlinux.org>
- # Maintainer: André Silva <emulatorman@hyperbola.info>
- # Contributor: Márcio Silva <coadde@hyperbola.info>
- # Contributor: Tobias Dausend <throgh@hyperbola.info>
- pkgname=autoconf
- pkgver=2.71
- _debver=$pkgver
- _debrel=3
- pkgrel=1
- pkgdesc="A GNU tool for automatically configuring source code"
- arch=('any')
- license=('custom:GPL-3+Autoconf-Configure-Script-Exception')
- url='https://www.gnu.org/software/autoconf/autoconf.html'
- groups=('base-devel')
- depends=('awk' 'm4' 'diffutils' 'perl')
- makedepends=('help2man' 'quilt') # help2man is needed while perl patch is present
- source=("https://ftp.gnu.org/gnu/autoconf/${pkgname}-${pkgver}.tar.xz"{,.sig}
- "https://deb.debian.org/debian/pool/main/a/autoconf/autoconf_${_debver}-${_debrel}.debian.tar.xz")
- sha512sums=('73d32b4adcbe24e3bafa9f43f59ed3b6efbd3de0f194e5ec90375f35da1199c583f5d3e89139b7edbad35171403709270e339ffa56a2ecb9b3123e9285021ff0'
- 'SKIP'
- '12debf9cd25329130b7d9b00b77bbbfb7f3f26cdf6dbe60188203e3a66ed933f693de02c3816856e4157d5843647d7c834c3bd924345a7ac41ad35aac3689f63')
- validpgpkeys=('82F854F3CE73174B8B63174091FCC32B6769AA64') # Zack Weinberg <zackw@panix.com>
- prepare() {
- cd "${pkgname}-${pkgver}"
- if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
- # Debian patches
- export QUILT_PATCHES=debian/patches
- export QUILT_REFRESH_ARGS='-p ab --no-timestamps --no-index'
- export QUILT_DIFF_ARGS='--no-timestamps'
- mv "$srcdir"/debian .
- quilt push -av
- fi
- }
- build() {
- cd "${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
- }
- package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- # license + license exception
- for i in COPYING{v3,.EXCEPTION}; do
- install -Dm644 $i "$pkgdir"/usr/share/licenses/autoconf/$i
- done
- # remove unwanted file
- rm -f "$pkgdir"/usr/share/info/standards.info
- }
|