1 # Maintainer: Sébastien "Seblu" Luttringer <seblu@archlinux.org>
2 # Contributor: Allan McRae <allan@archlinux.org>
3 # Contributor: judd <jvinet@zeroflux.org>
8 pkgdesc='GNU stream editor'
10 url='https://www.gnu.org/software/sed/'
12 depends=('glibc' 'acl')
13 makedepends=('gettext')
14 source=("https://ftp.gnu.org/pub/gnu/sed/$pkgname-$pkgver.tar.xz"{,.sig})
15 validpgpkeys=('155D3FC500C834486D1EEA677FD9FCCB000BEEEE') #Jim Meyering <jim@meyering.net>
16 sha256sums=('6e226b732e1cd739464ad6862bd1a1aba42d7982922da7a53519631d24975181'
21 # apply patch from the source array (should be a pacman feature)
23 for src in "${source[@]}"; do
26 [[ $src = *.patch ]] || continue
27 msg2 "Applying patch $src..."
28 patch -Np1 < "../$src"
34 ./configure --prefix=/usr
45 make DESTDIR="$pkgdir" install
48 # vim:set ts=2 sw=2 et: