[arch-commits] Commit in sed/repos (6 files)

Allan McRae allan at archlinux.org
Thu Nov 3 09:36:48 EDT 2011


    Date: Thursday, November 3, 2011 @ 09:36:47
  Author: allan
Revision: 141951

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  sed/repos/testing-i686/
  sed/repos/testing-i686/PKGBUILD
    (from rev 141950, sed/trunk/PKGBUILD)
  sed/repos/testing-i686/sed.install
    (from rev 141950, sed/trunk/sed.install)
  sed/repos/testing-x86_64/
  sed/repos/testing-x86_64/PKGBUILD
    (from rev 141950, sed/trunk/PKGBUILD)
  sed/repos/testing-x86_64/sed.install
    (from rev 141950, sed/trunk/sed.install)

----------------------------+
 testing-i686/PKGBUILD      |   34 ++++++++++++++++++++++++++++++++++
 testing-i686/sed.install   |   20 ++++++++++++++++++++
 testing-x86_64/PKGBUILD    |   34 ++++++++++++++++++++++++++++++++++
 testing-x86_64/sed.install |   20 ++++++++++++++++++++
 4 files changed, 108 insertions(+)

Copied: sed/repos/testing-i686/PKGBUILD (from rev 141950, sed/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2011-11-03 13:36:47 UTC (rev 141951)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=sed
+pkgver=4.2.1
+pkgrel=4
+pkgdesc="GNU stream editor"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/sed"
+license=('GPL3')
+groups=('base')
+depends=('acl' 'sh')
+makedepends=('gettext')
+install=sed.install
+source=(ftp://ftp.gnu.org/pub/gnu/sed/${pkgname}-${pkgver}.tar.gz{,.sig})
+md5sums=('f0fd4d7da574d4707e442285fd2d3b86'
+         '91871b227dbf0916e019ba1fb0fbfdf3')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr --bindir=/bin --without-included-regex
+  make
+}
+
+check() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+}

Copied: sed/repos/testing-i686/sed.install (from rev 141950, sed/trunk/sed.install)
===================================================================
--- testing-i686/sed.install	                        (rev 0)
+++ testing-i686/sed.install	2011-11-03 13:36:47 UTC (rev 141951)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(sed.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
+}

Copied: sed/repos/testing-x86_64/PKGBUILD (from rev 141950, sed/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2011-11-03 13:36:47 UTC (rev 141951)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=sed
+pkgver=4.2.1
+pkgrel=4
+pkgdesc="GNU stream editor"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/sed"
+license=('GPL3')
+groups=('base')
+depends=('acl' 'sh')
+makedepends=('gettext')
+install=sed.install
+source=(ftp://ftp.gnu.org/pub/gnu/sed/${pkgname}-${pkgver}.tar.gz{,.sig})
+md5sums=('f0fd4d7da574d4707e442285fd2d3b86'
+         '91871b227dbf0916e019ba1fb0fbfdf3')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr --bindir=/bin --without-included-regex
+  make
+}
+
+check() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+}

Copied: sed/repos/testing-x86_64/sed.install (from rev 141950, sed/trunk/sed.install)
===================================================================
--- testing-x86_64/sed.install	                        (rev 0)
+++ testing-x86_64/sed.install	2011-11-03 13:36:47 UTC (rev 141951)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(sed.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
+}



More information about the arch-commits mailing list