[arch-commits] Commit in ed/repos (4 files)
Dave Reisner
dreisner at archlinux.org
Sat Nov 24 15:21:55 UTC 2012
Date: Saturday, November 24, 2012 @ 10:21:54
Author: dreisner
Revision: 171937
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
ed/repos/testing-i686/
ed/repos/testing-i686/PKGBUILD
(from rev 171936, ed/trunk/PKGBUILD)
ed/repos/testing-x86_64/
ed/repos/testing-x86_64/PKGBUILD
(from rev 171936, ed/trunk/PKGBUILD)
-------------------------+
testing-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
Copied: ed/repos/testing-i686/PKGBUILD (from rev 171936, ed/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-11-24 15:21:54 UTC (rev 171937)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=ed
+pkgver=1.7
+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)
+md5sums=('0aa4e2428e325203d0d7c3e86c961b1c')
+
+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
+
+ # nuke info pages
+ rm -r "$pkgdir/usr/share/info"
+}
Copied: ed/repos/testing-x86_64/PKGBUILD (from rev 171936, ed/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-11-24 15:21:54 UTC (rev 171937)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=ed
+pkgver=1.7
+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)
+md5sums=('0aa4e2428e325203d0d7c3e86c961b1c')
+
+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
+
+ # nuke info pages
+ rm -r "$pkgdir/usr/share/info"
+}
More information about the arch-commits
mailing list