From 0f53c78099e839774618291f63b4443801810c87 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Fri, 2 Sep 2011 14:33:23 -0500 Subject: autogen: needed for grub2 --- abs/extra/autogen/PKGBUILD | 24 ++++++++++++++++++++++++ abs/extra/autogen/autogen.install | 20 ++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 abs/extra/autogen/PKGBUILD create mode 100644 abs/extra/autogen/autogen.install diff --git a/abs/extra/autogen/PKGBUILD b/abs/extra/autogen/PKGBUILD new file mode 100644 index 0000000..eea072e --- /dev/null +++ b/abs/extra/autogen/PKGBUILD @@ -0,0 +1,24 @@ +# $Id: PKGBUILD 54700 2009-10-11 18:35:07Z jgc $ +# Maintainer: Jan de Groot +# Contributor: Arjan Timmerman +# Contributor: Tor Krill + +pkgname=autogen +pkgver=5.11.5 +pkgrel=1 +pkgdesc="A tool designed to simplify the creation and maintenance of programs that contain large amounts of repetitious text" +arch=(i686 x86_64) +url="http://autogen.sourceforge.net/" +license=('GPL3') +depends=('guile>=1.8.6' 'libxml2>=2.7.3' 'libtool>=2.2.6a') +options=('!libtool' '!makeflags') +install=autogen.install +source=(http://downloads.sourceforge.net/autogen/${pkgname}-${pkgver}.tar.bz2) + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr || return 1 + make || return 1 + make DESTDIR="${pkgdir}" install || return 1 +} +md5sums=('51c841eab6114de22b55f77a1c4f85b8') diff --git a/abs/extra/autogen/autogen.install b/abs/extra/autogen/autogen.install new file mode 100644 index 0000000..181c256 --- /dev/null +++ b/abs/extra/autogen/autogen.install @@ -0,0 +1,20 @@ +infodir=/usr/share/info +filelist=(autogen.info autogen.info-1 autogen.info-2) + +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: -- cgit v0.12