summaryrefslogtreecommitdiffstats
path: root/abs/core/sed/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/sed/PKGBUILD')
-rw-r--r--abs/core/sed/PKGBUILD31
1 files changed, 19 insertions, 12 deletions
diff --git a/abs/core/sed/PKGBUILD b/abs/core/sed/PKGBUILD
index 787464b..a7063f5 100644
--- a/abs/core/sed/PKGBUILD
+++ b/abs/core/sed/PKGBUILD
@@ -1,21 +1,28 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: judd <jvinet@zeroflux.org>
+# $Id: PKGBUILD 77816 2010-04-18 08:52:19Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Contributor: judd <jvinet@zeroflux.org>
+
pkgname=sed
-pkgver=4.1.5
-pkgrel=12
+pkgver=4.2.1
+pkgrel=2
pkgdesc="GNU stream editor"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://www.gnu.org/software/sed"
-license=('GPL')
+license=('GPL3')
groups=('base')
-depends=('glibc')
+depends=('acl' 'sh')
+makedepends=('gettext')
+install=sed.install
source=(ftp://ftp.gnu.org/pub/gnu/sed/$pkgname-$pkgver.tar.gz)
-md5sums=('7a1cbbbb3341287308e140bd4834c3ba')
+md5sums=('f0fd4d7da574d4707e442285fd2d3b86')
build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr --bindir=/bin --without-included-regex
make || return 1
- make prefix=$startdir/pkg/usr install
- mv $startdir/pkg/usr/bin $startdir/pkg/
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
}