Date: Sunday, January 27, 2013 @ 13:24:26
  Author: allan
Revision: 176095

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

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

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

Copied: sed/repos/testing-i686/PKGBUILD (from rev 176094, sed/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD                               (rev 0)
+++ testing-i686/PKGBUILD       2013-01-27 12:24:26 UTC (rev 176095)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Allan McRae <al...@archlinux.org>
+# Contributor: judd <jvi...@zeroflux.org>
+
+pkgname=sed
+pkgver=4.2.2
+pkgrel=2
+pkgdesc="GNU stream editor"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/sed";
+license=('GPL3')
+groups=('base' 'base-devel')
+depends=('acl' 'sh')
+makedepends=('gettext')
+install=sed.install
+source=(ftp://ftp.gnu.org/pub/gnu/sed/${pkgname}-${pkgver}.tar.gz{,.sig})
+md5sums=('4111de4faa3b9848a0686b2f260c5056'
+         '86a5ab72f414d4cb38126e8e27cf0101')
+
+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
+  
+  mkdir $pkgdir/bin
+  ln -s ../usr/bin/sed $pkgdir/bin
+  
+}

Copied: sed/repos/testing-i686/sed.install (from rev 176094, 
sed/trunk/sed.install)
===================================================================
--- testing-i686/sed.install                            (rev 0)
+++ testing-i686/sed.install    2013-01-27 12:24:26 UTC (rev 176095)
@@ -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 176094, sed/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2013-01-27 12:24:26 UTC (rev 176095)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Allan McRae <al...@archlinux.org>
+# Contributor: judd <jvi...@zeroflux.org>
+
+pkgname=sed
+pkgver=4.2.2
+pkgrel=2
+pkgdesc="GNU stream editor"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/sed";
+license=('GPL3')
+groups=('base' 'base-devel')
+depends=('acl' 'sh')
+makedepends=('gettext')
+install=sed.install
+source=(ftp://ftp.gnu.org/pub/gnu/sed/${pkgname}-${pkgver}.tar.gz{,.sig})
+md5sums=('4111de4faa3b9848a0686b2f260c5056'
+         '86a5ab72f414d4cb38126e8e27cf0101')
+
+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
+  
+  mkdir $pkgdir/bin
+  ln -s ../usr/bin/sed $pkgdir/bin
+  
+}

Copied: sed/repos/testing-x86_64/sed.install (from rev 176094, 
sed/trunk/sed.install)
===================================================================
--- testing-x86_64/sed.install                          (rev 0)
+++ testing-x86_64/sed.install  2013-01-27 12:24:26 UTC (rev 176095)
@@ -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
+}

Reply via email to