# Compiling Time: 0.01 SBU
# Maintainer: DeX77 <dex77@frugalware.org>

pkgname=sgml-common
pkgver=0.6.3
pkgrel=9
pkgdesc="Gathers very basic stuff necessary to work with SGML and XML."
url="https://www.docbook.org/xml/"
pkgurl="https://www.sourceware.org/pub/docbook-tools/new-trials/SOURCES"
depends=()
groups=('apps')
makedepends=('automake>=1.15.1-2')
archs=("x86_64")
up2date="lynx -dump $pkgurl|grep common.*tgz$|tail -n 1|sed 's/.*n-\(.*\)\.tgz$/\1/'"
source=($pkgurl/$pkgname-$pkgver.tgz)
sha1sums=('b7d211c19b83accb92dcb51719de65227fb4c27c')

build() {
	cd $startdir/src/$pkgname-$pkgver
	Fmake --prefix=/usr --sysconfdir=/etc
	local i
	for i in bin config doc/HTML
	do
		sed -i 's/@mkdir_p@/mkdir -p/' $i/Makefile
	done
	Fmakeinstall
}

# vim: ft=sh

# optimization OK
