Commit ffec5381 authored by Francesco Marinucci's avatar Francesco Marinucci

[skip-ci] autoconf2.13: removed obsolete package files, closing issue #129

parent af748668
Pipeline #2537 skipped
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=autoconf2.13
pkgver=2.13
pkgrel=2
pkgdesc="A GNU tool for automatically configuring source code (Legacy 2.1x version)"
arch=(any)
url="http://www.gnu.org/software/autoconf/"
license=('GPL2')
depends=('perl')
install=autoconf.install
source=("http://ftpmirror.gnu.org/autoconf/autoconf-${pkgver}.tar.gz")
md5sums=('9de56d4a161a723228220b0f425dc711')
build() {
cd "$srcdir/autoconf-${pkgver}"
./configure --prefix=/usr --infodir=/usr/share/info --program-suffix=-2.13 || return 1
make || return 1
make prefix="${pkgdir}/usr" infodir="${pkgdir}/usr/share/info" install || return 1
mv "${pkgdir}"/usr/share/info/autoconf{,-2.13}.info
mv "${pkgdir}"/usr/share/info/standards{,-2.13}.info
}
infodir=/usr/share/info
filelist=(autoconf-2.13.info standards-2.13.info)
post_install() {
for file in ${filelist[@]}; do
install-info $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
post_upgrade() {
post_install $1
}
pre_remove() {
for file in ${filelist[@]}; do
install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
# vim:set ts=2 sw=2 et:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment