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

Dave Reisner dreisner at archlinux.org
Wed Apr 1 14:34:03 UTC 2015


    Date: Wednesday, April 1, 2015 @ 16:34:03
  Author: dreisner
Revision: 235327

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

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

---------------------------+
 testing-i686/PKGBUILD     |   39 +++++++++++++++++++++++++++++++++++++++
 testing-i686/ed.install   |   18 ++++++++++++++++++
 testing-x86_64/PKGBUILD   |   39 +++++++++++++++++++++++++++++++++++++++
 testing-x86_64/ed.install |   18 ++++++++++++++++++
 4 files changed, 114 insertions(+)

Copied: ed/repos/testing-i686/PKGBUILD (from rev 235326, ed/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-04-01 14:34:03 UTC (rev 235327)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=ed
+pkgver=1.11
+pkgrel=1
+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')
+install='ed.install'
+validpgpkeys=('1D41C14B272A2219A739FA4F8FE99503132D7742')  # Antonio Diaz Diaz
+source=("ftp://ftp.gnu.org/gnu/ed/$pkgname-$pkgver.tar.lz"{,.sig})
+md5sums=('891635e76c661611bfb7e963bde38856'
+         '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/testing-i686/ed.install (from rev 235326, ed/trunk/ed.install)
===================================================================
--- testing-i686/ed.install	                        (rev 0)
+++ testing-i686/ed.install	2015-04-01 14:34:03 UTC (rev 235327)
@@ -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/testing-x86_64/PKGBUILD (from rev 235326, ed/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-04-01 14:34:03 UTC (rev 235327)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=ed
+pkgver=1.11
+pkgrel=1
+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')
+install='ed.install'
+validpgpkeys=('1D41C14B272A2219A739FA4F8FE99503132D7742')  # Antonio Diaz Diaz
+source=("ftp://ftp.gnu.org/gnu/ed/$pkgname-$pkgver.tar.lz"{,.sig})
+md5sums=('891635e76c661611bfb7e963bde38856'
+         '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/testing-x86_64/ed.install (from rev 235326, ed/trunk/ed.install)
===================================================================
--- testing-x86_64/ed.install	                        (rev 0)
+++ testing-x86_64/ed.install	2015-04-01 14:34:03 UTC (rev 235327)
@@ -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