### this file is sourced not run
PKGVER=2.3
PKGBUILD=1
PKGARCH=noarch

# source: james
TARBALL=mom-2.3.tar.gz
MD5SUM=9904adaed8189249fbc08f2f6f792e19
SRC_URL=http://www.schaffter.ca/mom/$TARBALL
BUNDLE=

SLACKREQ= # build-time: groff
SLACKDESC="groff-mom: groff-mom $PKGVER (Groff Typesetting Macros)
groff-mom: 
groff-mom: 'mom' is a flexible typesetting and document formatting package that 
groff-mom: allows you to create high-quality Portable Document Format (.pdf) or 
groff-mom: PostScript (.ps) files for viewing and printing. This is an update to 
groff-mom: the built-in 'mom' macros that comes with groff.
groff-mom: 
groff-mom: 
groff-mom: 
groff-mom: 
groff-mom: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/mom*
	rm -rf /usr/share/doc/groff*/{examples,html}/mom &&
	mv examples mom &&
	mv -v mom /usr/share/doc/groff*/examples &&
	mv momdoc mom &&
	mv -v mom /usr/share/doc/groff*/html &&
	install -m644 om.tmac /usr/share/groff/current/tmac &&
	pkg_build_slackdesc
}


