1 # Maintainer: lilydjwg <lilydjwg@gmail.com>
5 pkgdesc="Super-sed is a heavily enhanced version of sed that supports PCRE."
7 url="http://sed.sourceforge.net/grabbag/ssed/"
9 makedepends=(gcc sed bison)
10 source=(http://sed.sourceforge.net/grabbag/${pkgname}/sed-${pkgver}.tar.gz)
11 md5sums=('8f35882af95da4e5ddbf3de1add26f79')
14 cd $srcdir/sed-${pkgver}
15 ./configure --prefix=/usr --program-prefix=s
19 cd $srcdir/sed-${pkgver}
20 # sed -i "s.^prefix = /usr\$.prefix = ${pkgdir}/usr." Makefile
21 make prefix=${pkgdir}/usr install
22 install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
23 mv ${pkgdir}/usr/info ${pkgdir}/usr/share/info
24 mv ${pkgdir}/usr/share/info/sed.info ${pkgdir}/usr/share/info/ssed.info