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

# source: james
TARBALL=gob2-2.0.20.tar.xz
MD5SUM=b830859993bfa82bc8773207b9a4a698
SRC_URL=http://ftp.5z.com/pub/gob/$TARBALL
BUNDLE=

SLACKREQ='glib' # 
SLACKDESC='gob2: gob2 2.0.20 (GObject Builder)
gob2: 
gob2: GOB (GOB2 anyway) is a preprocessor for making GObjects with inline C 
gob2: code so that generated files are not edited. Syntax is inspired by 
gob2: Java and Yacc or Lex. The implementation is intentionally kept 
gob2: simple, and no C actual code parsing is done.
gob2: 
gob2: http://www.jirka.org/gob.html
gob2: 
gob2: 
gob2: 
'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	pkg_build_autoconf &&
	
	# docs and examples
	mkdir -p /usr/share/doc/gob2/examples &&
	install -m644 examples/*  /usr/share/doc/gob2/examples &&
	perl doc/makehtml.pl < /usr/share/man/man1/gob2.1 > /usr/share/doc/gob2/gob2.html &&
	
	#
	pkg_build_slackdesc
}
