summaryrefslogtreecommitdiff
path: root/core/sed/PKGBUILD
blob: 994ff8a2bf1b22997838ec19dcf77d9a2f22f17f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $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=4.2
pkgdesc="GNU stream editor"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/sed"
license=('GPL3')
groups=('base')
depends=('acl' 'sh')
makedepends=('gettext')
install=sed.install
source=(ftp://ftp.gnu.org/pub/gnu/sed/${pkgname}-${pkgver}.tar.gz{,.sig})
md5sums=('f0fd4d7da574d4707e442285fd2d3b86'
         '91871b227dbf0916e019ba1fb0fbfdf3')

build() {
  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}
  make DESTDIR=${pkgdir} install
}