updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / ssed / PKGBUILD
blobfa35720e7cf7cfd6801ea919d1e37edcc04acad6
1 # Maintainer: lilydjwg <lilydjwg@gmail.com>
2 pkgname=ssed
3 pkgver=3.62
4 pkgrel=1
5 pkgdesc="Super-sed is a heavily enhanced version of sed that supports PCRE."
6 arch=(i686 x86_64)
7 url="http://sed.sourceforge.net/grabbag/ssed/"
8 license=("GPLv2")
9 makedepends=(gcc sed bison)
10 source=(http://sed.sourceforge.net/grabbag/${pkgname}/sed-${pkgver}.tar.gz)
11 md5sums=('8f35882af95da4e5ddbf3de1add26f79')
13 build() {
14   cd $srcdir/sed-${pkgver}
15   ./configure --prefix=/usr --program-prefix=s
16   make
18 package() {
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