# $Id: PKGBUILD 187041 2013-06-03 11:15:34Z allan $ # Maintainer: Allan McRae # Contributor: judd pkgname=sed pkgver=4.2.2 pkgrel=3 pkgdesc="GNU stream editor" arch=('i686' 'x86_64' 'mips64el') url="http://www.gnu.org/software/sed" license=('GPL3') groups=('base' 'base-devel') depends=('acl' 'sh') makedepends=('gettext') install=sed.install source=(ftp://ftp.gnu.org/pub/gnu/sed/${pkgname}-${pkgver}.tar.gz{,.sig}) md5sums=('4111de4faa3b9848a0686b2f260c5056' '86a5ab72f414d4cb38126e8e27cf0101') build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr make } check() { cd ${srcdir}/${pkgname}-${pkgver} make check } package() { cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }