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

# source: james
TARBALL=ted-2.23.src.tar.gz
MD5SUM=4199df0deb82a90450135ec3f2b7d915
SRC_URL=http://ftp.nluug.nl/pub/editors/ted/$TARBALL
BUNDLE=

SLACKREQ='gtk2'
SLACKDESC='ted: ted 2.23 (Wordprocessor)  
ted:  
ted: Ted is a small and lightweight word processor running on the Unix/Linux 
ted: desktop. It uses MS RTF as its document format. RTF files from Ted are 
ted: fully compatible with MS-Word. Ted can also export its output as 
ted: PostScript and PDF files; making it useful as simple document converter.  
ted: 
ted: 
ted: 
ted: 
ted:
'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	# Note: no CONFFLAGS
	cd /tmp/Ted*
	
	# patch for newer freetype2
	sed -i -e "s|^\(#[ \t]*include[ \t]*<\)freetype/|\1|" appFrame/appFontConfig.c &&
	make $MAKEFLAGS && make install &&
	pkg_build_slackdesc
}
