[arch-commits] Commit in ed/repos (6 files)
Dave Reisner
dreisner at nymeria.archlinux.org
Thu Apr 25 12:06:11 UTC 2013
Date: Thursday, April 25, 2013 @ 14:06:10
Author: dreisner
Revision: 183613
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
ed/repos/testing-i686/
ed/repos/testing-i686/PKGBUILD
(from rev 183612, ed/trunk/PKGBUILD)
ed/repos/testing-i686/ed.install
(from rev 183612, ed/trunk/ed.install)
ed/repos/testing-x86_64/
ed/repos/testing-x86_64/PKGBUILD
(from rev 183612, ed/trunk/PKGBUILD)
ed/repos/testing-x86_64/ed.install
(from rev 183612, ed/trunk/ed.install)
---------------------------+
testing-i686/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
testing-i686/ed.install | 18 ++++++++++++++++++
testing-x86_64/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
testing-x86_64/ed.install | 18 ++++++++++++++++++
4 files changed, 110 insertions(+)
Copied: ed/repos/testing-i686/PKGBUILD (from rev 183612, ed/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2013-04-25 12:06:10 UTC (rev 183613)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=ed
+pkgver=1.8
+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')
+source=("ftp://ftp.gnu.org/gnu/ed/$pkgname-$pkgver.tar.gz"{,.sig})
+install='ed.install'
+md5sums=('2268d2344b3c52d23730acb2e3c942fe'
+ 'SKIP')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ ./configure --prefix=/ \
+ --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 183612, ed/trunk/ed.install)
===================================================================
--- testing-i686/ed.install (rev 0)
+++ testing-i686/ed.install 2013-04-25 12:06:10 UTC (rev 183613)
@@ -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 183612, ed/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2013-04-25 12:06:10 UTC (rev 183613)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=ed
+pkgver=1.8
+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')
+source=("ftp://ftp.gnu.org/gnu/ed/$pkgname-$pkgver.tar.gz"{,.sig})
+install='ed.install'
+md5sums=('2268d2344b3c52d23730acb2e3c942fe'
+ 'SKIP')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ ./configure --prefix=/ \
+ --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 183612, ed/trunk/ed.install)
===================================================================
--- testing-x86_64/ed.install (rev 0)
+++ testing-x86_64/ed.install 2013-04-25 12:06:10 UTC (rev 183613)
@@ -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