[arch-commits] CVS update of arch/build/base/ed (PKGBUILD)
Eric Belanger
eric at archlinux.org
Fri Jun 1 02:57:40 UTC 2007
Date: Thursday, May 31, 2007 @ 22:57:40
Author: eric
Path: /home/cvs-arch/arch/build/base/ed
Modified: PKGBUILD (1.12 -> 1.13)
upgpkg: ed 0.5-3
Fixed the hard link's "Invalid cross-device link" error.
Added man page.
----------+
PKGBUILD | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
Index: arch/build/base/ed/PKGBUILD
diff -u arch/build/base/ed/PKGBUILD:1.12 arch/build/base/ed/PKGBUILD:1.13
--- arch/build/base/ed/PKGBUILD:1.12 Thu May 31 05:42:07 2007
+++ arch/build/base/ed/PKGBUILD Thu May 31 22:57:40 2007
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD,v 1.12 2007/05/31 09:42:07 jgc Exp $
+# $Id: PKGBUILD,v 1.13 2007/06/01 02:57:40 eric Exp $
# Maintainer: judd <jvinet at zeroflux.org>
pkgname=ed
pkgver=0.5
-pkgrel=2
+pkgrel=3
pkgdesc="A POSIX-compliant line editor"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
license=('GPL')
url="http://www.gnu.org/software/ed/ed.html"
depends=('glibc')
@@ -14,9 +14,15 @@
build() {
cd ${startdir}/src/${pkgname}-${pkgver}
- ./configure --prefix=/usr
+ ./configure --prefix=/
make || return 1
- make DESTDIR=${startdir}/pkg install
- install -d -m755 ${startdir}/pkg/bin
- mv ${startdir}/pkg/usr/bin/ed ${startdir}/pkg/bin/
+# installing executable
+ install -D -m755 ed ${startdir}/pkg/bin/ed
+ cd ${startdir}/pkg/bin
+ ln ed red
+# installing man page
+ cd ${startdir}/src/${pkgname}-${pkgver}
+ install -D -m644 doc/ed.1 ${startdir}/pkg/usr/man/man1/ed.1
+ cd ${startdir}/pkg/usr/man/man1
+ ln ed.1 red.1
}
More information about the arch-commits
mailing list