[arch-commits] Commit in ed/repos (4 files)

Dave Reisner dreisner at archlinux.org
Tue Nov 8 00:38:03 UTC 2011


    Date: Monday, November 7, 2011 @ 19:38:03
  Author: dreisner
Revision: 142294

db-move: moved ed from [testing] to [core] (x86_64)

Added:
  ed/repos/core-x86_64/PKGBUILD
    (from rev 142292, ed/repos/testing-x86_64/PKGBUILD)
Deleted:
  ed/repos/core-x86_64/PKGBUILD
  ed/repos/core-x86_64/ed.install
  ed/repos/testing-x86_64/

------------+
 PKGBUILD   |   74 +++++++++++++++++++++++++++++++++--------------------------
 ed.install |   22 -----------------
 2 files changed, 42 insertions(+), 54 deletions(-)

Deleted: core-x86_64/PKGBUILD
===================================================================
--- core-x86_64/PKGBUILD	2011-11-08 00:38:02 UTC (rev 142293)
+++ core-x86_64/PKGBUILD	2011-11-08 00:38:03 UTC (rev 142294)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
-
-pkgname=ed
-pkgver=1.5
-pkgrel=2
-pkgdesc="A POSIX-compliant line editor"
-arch=('i686' 'x86_64')
-license=('GPL')
-url="http://www.gnu.org/software/ed/ed.html"
-install=ed.install
-depends=('glibc' 'sh')
-options=('!emptydirs')
-source=(ftp://ftp.gnu.org/gnu/ed/${pkgname}-${pkgver}.tar.gz)
-md5sums=('e66c03d7e4c67b025d5b6093ec678267')
-
-build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  ./configure --prefix=/ \
-	--mandir=/usr/share/man \
-	--infodir=/usr/share/info \
-	CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
-  make || return 1
-}
-
-package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
-
-  cd ${pkgdir}/usr/share/info
-  ln ed.info red.info
-}

Copied: ed/repos/core-x86_64/PKGBUILD (from rev 142292, ed/repos/testing-x86_64/PKGBUILD)
===================================================================
--- core-x86_64/PKGBUILD	                        (rev 0)
+++ core-x86_64/PKGBUILD	2011-11-08 00:38:03 UTC (rev 142294)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=ed
+pkgver=1.5
+pkgrel=4
+pkgdesc="A POSIX-compliant line-oriented text editor"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.gnu.org/software/ed/ed.html"
+depends=('glibc' 'sh')
+options=('!emptydirs')
+source=(ftp://ftp.gnu.org/gnu/ed/${pkgname}-${pkgver}.tar.gz)
+md5sums=('e66c03d7e4c67b025d5b6093ec678267')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  ./configure --prefix=/ \
+              --mandir=/usr/share/man \
+              --infodir=/usr/share/info \
+              "CFLAGS=$CFLAGS" \
+              "LDFLAGS=$LDFLAGS"
+
+  make
+}
+
+check() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make check
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make "DESTDIR=$pkgdir" install
+
+  # nuke info pages
+  rm -r "$pkgdir/usr/share/info"
+}

Deleted: core-x86_64/ed.install
===================================================================
--- core-x86_64/ed.install	2011-11-08 00:38:02 UTC (rev 142293)
+++ core-x86_64/ed.install	2011-11-08 00:38:03 UTC (rev 142294)
@@ -1,22 +0,0 @@
-infodir=/usr/share/info
-filelist=(ed.info red.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
-}
-
-# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list