From 82fd7f658509afe9737e14e8d1ee9fefe13c9d1f Mon Sep 17 00:00:00 2001 From: root Date: Sat, 5 Nov 2011 23:14:55 +0000 Subject: Sat Nov 5 23:14:55 UTC 2011 --- core/sed/PKGBUILD | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'core/sed/PKGBUILD') diff --git a/core/sed/PKGBUILD b/core/sed/PKGBUILD index e6e0000a3..5e268d05e 100644 --- a/core/sed/PKGBUILD +++ b/core/sed/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 100052 2010-11-20 03:28:20Z stephane $ +# $Id: PKGBUILD 142078 2011-11-04 23:36:15Z allan $ # Maintainer: Allan McRae # Contributor: judd pkgname=sed pkgver=4.2.1 -pkgrel=3 +pkgrel=4 pkgdesc="GNU stream editor" arch=('i686' 'x86_64') url="http://www.gnu.org/software/sed" @@ -13,16 +13,22 @@ groups=('base') depends=('acl' 'sh') makedepends=('gettext') install=sed.install -source=(ftp://ftp.gnu.org/pub/gnu/sed/${pkgname}-${pkgver}.tar.gz) -md5sums=('f0fd4d7da574d4707e442285fd2d3b86') +source=(ftp://ftp.gnu.org/pub/gnu/sed/${pkgname}-${pkgver}.tar.gz{,.sig}) +md5sums=('f0fd4d7da574d4707e442285fd2d3b86' + '91871b227dbf0916e019ba1fb0fbfdf3') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr --bindir=/bin --without-included-regex make } +check() { + cd ${srcdir}/${pkgname}-${pkgver} + make check +} + package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install } -- cgit v1.2.3-54-g00ecf