[arch-commits] Commit in autoconf/repos (3 files)

2014-06-29 Thread Allan McRae
Date: Sunday, June 29, 2014 @ 09:03:03
  Author: allan
Revision: 215549

archrelease: copy trunk to testing-any

Added:
  autoconf/repos/testing-any/
  autoconf/repos/testing-any/PKGBUILD
(from rev 215548, autoconf/trunk/PKGBUILD)
  autoconf/repos/testing-any/autoconf.install
(from rev 215548, autoconf/trunk/autoconf.install)

--+
 PKGBUILD |   42 ++
 autoconf.install |   20 
 2 files changed, 62 insertions(+)

Copied: autoconf/repos/testing-any/PKGBUILD (from rev 215548, 
autoconf/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2014-06-29 07:03:03 UTC (rev 215549)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Andreas Radke andy...@archlinux.org
+
+pkgname=autoconf
+pkgver=2.69
+pkgrel=2
+pkgdesc=A GNU tool for automatically configuring source code
+arch=('any')
+license=('GPL2' 'GPL3' 'custom')
+url=http://www.gnu.org/software/autoconf;
+groups=('base-devel')
+depends=('awk' 'm4' 'diffutils' 'bash')
+checkdepends=('gcc-fortran')
+install=autoconf.install
+source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig})
+md5sums=('50f97f4159805e374639a73e2636f22e'
+ '2941e2fe687e05b3431eac6b714053bc')
+validpgpkeys=('71C2CC22B1C4602927D2F3AAA7A16B4A2527436A')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${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
+}

Copied: autoconf/repos/testing-any/autoconf.install (from rev 215548, 
autoconf/trunk/autoconf.install)
===
--- testing-any/autoconf.install(rev 0)
+++ testing-any/autoconf.install2014-06-29 07:03:03 UTC (rev 215549)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(autoconf.info)
+
+post_install() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+install-info $infodir/$file.gz $infodir/dir 2 /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+install-info --delete $infodir/$file.gz $infodir/dir 2 /dev/null
+  done
+}



[arch-commits] Commit in autoconf/repos (3 files)

2012-04-25 Thread Allan McRae
Date: Wednesday, April 25, 2012 @ 03:53:13
  Author: allan
Revision: 157167

archrelease: copy trunk to testing-any

Added:
  autoconf/repos/testing-any/
  autoconf/repos/testing-any/PKGBUILD
(from rev 157166, autoconf/trunk/PKGBUILD)
  autoconf/repos/testing-any/autoconf.install
(from rev 157166, autoconf/trunk/autoconf.install)

--+
 PKGBUILD |   42 ++
 autoconf.install |   20 
 2 files changed, 62 insertions(+)

Copied: autoconf/repos/testing-any/PKGBUILD (from rev 157166, 
autoconf/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2012-04-25 07:53:13 UTC (rev 157167)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Andreas Radke andy...@archlinux.org
+
+pkgname=autoconf
+pkgver=2.69
+pkgrel=1
+pkgdesc=A GNU tool for automatically configuring source code
+arch=('any')
+license=('GPL2' 'GPL3' 'custom')
+url=http://www.gnu.org/software/autoconf;
+groups=('base-devel')
+depends=('awk' 'm4' 'diffutils' 'bash')
+# for test-suite
+#makedepends=('gcc-fortran' 'erlang')
+install=autoconf.install
+source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig})
+md5sums=('50f97f4159805e374639a73e2636f22e'
+ '2941e2fe687e05b3431eac6b714053bc')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+
+  # license exception
+  install -Dm644 COPYING.EXCEPTION \
+$pkgdir/usr/share/licenses/autoconf/COPYING.EXCEPTION
+
+  # conflict with bintuils
+  rm -f ${pkgdir}/usr/share/info/standards.info
+}

Copied: autoconf/repos/testing-any/autoconf.install (from rev 157166, 
autoconf/trunk/autoconf.install)
===
--- testing-any/autoconf.install(rev 0)
+++ testing-any/autoconf.install2012-04-25 07:53:13 UTC (rev 157167)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(autoconf.info)
+
+post_install() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+install-info $infodir/$file.gz $infodir/dir 2 /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+install-info --delete $infodir/$file.gz $infodir/dir 2 /dev/null
+  done
+}



[arch-commits] Commit in autoconf/repos (3 files)

2011-11-02 Thread Allan McRae
Date: Thursday, November 3, 2011 @ 01:02:43
  Author: allan
Revision: 141907

archrelease: copy trunk to testing-any

Added:
  autoconf/repos/testing-any/
  autoconf/repos/testing-any/PKGBUILD
(from rev 141906, autoconf/trunk/PKGBUILD)
  autoconf/repos/testing-any/autoconf.install
(from rev 141906, autoconf/trunk/autoconf.install)

--+
 PKGBUILD |   42 ++
 autoconf.install |   20 
 2 files changed, 62 insertions(+)

Copied: autoconf/repos/testing-any/PKGBUILD (from rev 141906, 
autoconf/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2011-11-03 05:02:43 UTC (rev 141907)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Andreas Radke andy...@archlinux.org
+
+pkgname=autoconf
+pkgver=2.68
+pkgrel=2
+pkgdesc=A GNU tool for automatically configuring source code
+arch=('any')
+license=('GPL2' 'GPL3' 'custom')
+url=http://www.gnu.org/software/autoconf;
+groups=('base-devel')
+depends=('awk' 'm4' 'diffutils' 'bash')
+# for test-suite
+#makedepends=('gcc-fortran' 'erlang')
+install=autoconf.install
+source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig})
+md5sums=('723677f7727542d273112e7feb870a7a'
+ 'f0af3afe669e5957312415fcb4ed38fa')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+
+  # license exception
+  install -Dm644 COPYING.EXCEPTION \
+$pkgdir/usr/share/licenses/autoconf/COPYING.EXCEPTION
+
+  # conflict with bintuils
+  rm -f ${pkgdir}/usr/share/info/standards.info
+}

Copied: autoconf/repos/testing-any/autoconf.install (from rev 141906, 
autoconf/trunk/autoconf.install)
===
--- testing-any/autoconf.install(rev 0)
+++ testing-any/autoconf.install2011-11-03 05:02:43 UTC (rev 141907)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(autoconf.info)
+
+post_install() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+install-info $infodir/$file.gz $infodir/dir 2 /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+install-info --delete $infodir/$file.gz $infodir/dir 2 /dev/null
+  done
+}