core/sed/PKGBUILD

29 lines
676 B
Bash
Raw Normal View History

2010-05-16 23:08:55 +08:00
# $Id: PKGBUILD 77816 2010-04-18 08:52:19Z allan $
2010-03-13 23:25:19 +08:00
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=sed
pkgver=4.2.1
pkgrel=3
2010-03-13 23:25:19 +08:00
pkgdesc="GNU stream editor"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/sed"
license=('GPL3')
groups=('base')
2010-05-16 23:08:55 +08:00
depends=('acl' 'sh')
2010-03-13 23:25:19 +08:00
makedepends=('gettext')
install=sed.install
source=(ftp://ftp.gnu.org/pub/gnu/sed/$pkgname-$pkgver.tar.gz)
md5sums=('f0fd4d7da574d4707e442285fd2d3b86')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --bindir=/bin --without-included-regex
make || return 1
2010-05-16 23:08:55 +08:00
}
package() {
cd $srcdir/$pkgname-$pkgver
2010-03-13 23:25:19 +08:00
make DESTDIR=$pkgdir install
}