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

Dave Reisner dreisner at nymeria.archlinux.org
Thu May 30 08:24:40 EDT 2013


    Date: Thursday, May 30, 2013 @ 14:24:40
  Author: dreisner
Revision: 186663

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

Added:
  ed/repos/staging-i686/
  ed/repos/staging-i686/PKGBUILD
    (from rev 186662, ed/trunk/PKGBUILD)
  ed/repos/staging-i686/ed.install
    (from rev 186662, ed/trunk/ed.install)
  ed/repos/staging-x86_64/
  ed/repos/staging-x86_64/PKGBUILD
    (from rev 186662, ed/trunk/PKGBUILD)
  ed/repos/staging-x86_64/ed.install
    (from rev 186662, ed/trunk/ed.install)

---------------------------+
 staging-i686/PKGBUILD     |   38 ++++++++++++++++++++++++++++++++++++++
 staging-i686/ed.install   |   18 ++++++++++++++++++
 staging-x86_64/PKGBUILD   |   38 ++++++++++++++++++++++++++++++++++++++
 staging-x86_64/ed.install |   18 ++++++++++++++++++
 4 files changed, 112 insertions(+)

Copied: ed/repos/staging-i686/PKGBUILD (from rev 186662, ed/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2013-05-30 12:24:40 UTC (rev 186663)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=ed
+pkgver=1.8
+pkgrel=2
+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"{,.sig})
+install='ed.install'
+md5sums=('2268d2344b3c52d23730acb2e3c942fe'
+         'SKIP')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  ./configure --prefix=/ \
+              --bindir=/usr/bin \
+              --mandir=/usr/share/man \
+              --infodir=/usr/share/info \
+              "CFLAGS=$CFLAGS" \
+              "LDFLAGS=$LDFLAGS"
+
+  make
+}
+
+check() {
+  make -C "$pkgname-$pkgver" check
+}
+
+package() {
+  make -C "$pkgname-$pkgver" "DESTDIR=$pkgdir" install
+}

Copied: ed/repos/staging-i686/ed.install (from rev 186662, ed/trunk/ed.install)
===================================================================
--- staging-i686/ed.install	                        (rev 0)
+++ staging-i686/ed.install	2013-05-30 12:24:40 UTC (rev 186663)
@@ -0,0 +1,18 @@
+infodir=usr/share/info
+filelist=(ed.info)
+
+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
+}

Copied: ed/repos/staging-x86_64/PKGBUILD (from rev 186662, ed/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2013-05-30 12:24:40 UTC (rev 186663)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=ed
+pkgver=1.8
+pkgrel=2
+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"{,.sig})
+install='ed.install'
+md5sums=('2268d2344b3c52d23730acb2e3c942fe'
+         'SKIP')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  ./configure --prefix=/ \
+              --bindir=/usr/bin \
+              --mandir=/usr/share/man \
+              --infodir=/usr/share/info \
+              "CFLAGS=$CFLAGS" \
+              "LDFLAGS=$LDFLAGS"
+
+  make
+}
+
+check() {
+  make -C "$pkgname-$pkgver" check
+}
+
+package() {
+  make -C "$pkgname-$pkgver" "DESTDIR=$pkgdir" install
+}

Copied: ed/repos/staging-x86_64/ed.install (from rev 186662, ed/trunk/ed.install)
===================================================================
--- staging-x86_64/ed.install	                        (rev 0)
+++ staging-x86_64/ed.install	2013-05-30 12:24:40 UTC (rev 186663)
@@ -0,0 +1,18 @@
+infodir=usr/share/info
+filelist=(ed.info)
+
+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
+}



More information about the arch-commits mailing list