PKGBUILDs/community/sgmltools-lite/PKGBUILD
2009-10-09 21:15:33 -05:00

26 lines
782 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=sgmltools-lite
pkgver=3.0.3
pkgrel=1
pkgdesc="SGML processing tools (sucessor to the obsolete SGMLtools)"
arch=('i686' 'x86_64')
url="http://sgmltools-lite.sourceforge.net/"
license=('GPL')
depends=(jade python)
source=(http://downloads.sourceforge.net/sourceforge/sgmltools-lite/sgmltools-lite-$pkgver.tar.gz)
noextract=()
md5sums=('dab77d3d751ca381a95ccebd88480a85')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
sed -i "s|prefix=/usr|prefix=$startdir/pkg/usr|" Makefile
sed -i "s|etcdir=/etc/sgml|etcdir=$startdir/pkg/etc/sgml|" Makefile
make install
}