summaryrefslogtreecommitdiffstats
path: root/abs/core/sed/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 18:55:18 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 18:55:18 (GMT)
commitd940db50e8a9e203ee12af5bf47fda2eba3899c6 (patch)
tree0b2b239221638dec90fbf7e0a08e51df0b2c05d8 /abs/core/sed/PKGBUILD
parented98b50bba7db4dd2f5aaf0d9302b3479372f616 (diff)
downloadlinhes_pkgbuild-d940db50e8a9e203ee12af5bf47fda2eba3899c6.zip
linhes_pkgbuild-d940db50e8a9e203ee12af5bf47fda2eba3899c6.tar.gz
linhes_pkgbuild-d940db50e8a9e203ee12af5bf47fda2eba3899c6.tar.bz2
sed 4.2.1
Diffstat (limited to 'abs/core/sed/PKGBUILD')
-rw-r--r--abs/core/sed/PKGBUILD22
1 files changed, 14 insertions, 8 deletions
diff --git a/abs/core/sed/PKGBUILD b/abs/core/sed/PKGBUILD
index a7063f5..5e268d0 100644
--- a/abs/core/sed/PKGBUILD
+++ b/abs/core/sed/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 77816 2010-04-18 08:52:19Z allan $
+# $Id: PKGBUILD 142078 2011-11-04 23:36:15Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=sed
pkgver=4.2.1
-pkgrel=2
+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 || return 1
+ make
+}
+
+check() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make check
}
package() {
- cd $srcdir/$pkgname-$pkgver
- make DESTDIR=$pkgdir install
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
}