### this file is sourced not run
PKGVER=10195
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=halibut-195.tar.bz2
MD5SUM=ab52f6ff64272c81bb700f83cafb1f39
SRC_URL=http://distro.ibiblio.org/fatdog/source/700/$TARBALL
BUNDLE=

SLACKREQ='' # 
SLACKDESC='halibut: halibut 10195 (Document production system)  
halibut:  
halibut: Halibut is a documentation production system, with elements similar 
halibut: to TeX, debiandoc-sgml, TeXinfo, and others. It is primarily targeted 
halibut: at people producing software manuals.  
halibut: 
halibut: 
halibut: 
halibut: 
halibut: 
halibut: http://www.chiark.greenend.org.uk/~sgtatham/halibut/
'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/halibut*/halibut
	
	# note: no parallel make
	make VERSION=svn-10195 && make -C doc &&
	make prefix=/usr install &&
	mkdir -p /usr/share/doc/halibut/html /usr/share/info &&
	cp doc/halibut.pdf /usr/share/doc/halibut/manual.pdf &&
	cp doc/halibut.info /usr/share/info &&
	cp doc/*.html /usr/share/doc/halibut/html &&
	pkg_build_slackdesc
}
