summaryrefslogtreecommitdiffstats
path: root/abs/extra/autogen
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-09-02 19:33:23 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-09-02 19:33:23 (GMT)
commit0f53c78099e839774618291f63b4443801810c87 (patch)
treea28dab7b74e7a48f8a9e04d0dd42a7024cfbb4c3 /abs/extra/autogen
parent8af79359c21b5f07981975c34a7d51ab063b249d (diff)
downloadlinhes_pkgbuild-0f53c78099e839774618291f63b4443801810c87.zip
linhes_pkgbuild-0f53c78099e839774618291f63b4443801810c87.tar.gz
linhes_pkgbuild-0f53c78099e839774618291f63b4443801810c87.tar.bz2
autogen: needed for grub2
Diffstat (limited to 'abs/extra/autogen')
-rw-r--r--abs/extra/autogen/PKGBUILD24
-rw-r--r--abs/extra/autogen/autogen.install20
2 files changed, 44 insertions, 0 deletions
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 <jgc@archlinux.org>
+# Contributor: Arjan Timmerman <arjan@soufly.nl>
+# 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: