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

# source: james
TARBALL=ted_en_GB.tar.gz
MD5SUM=3f43d0fe3ac66f21943f547f2080e478
SRC_URL=http://ftp.nluug.nl/pub/editors/ted/$TARBALL
BUNDLE=

SLACKREQ='ted' # useless without it
SLACKDESC="ted-dict-en_GB: ted-dict-en_GB $PKGVER (British dictionary for Ted)
ted-dict-en_GB: 
ted-dict-en_GB: Ted is a small and lightweight word processor that uses MS RTF as its 
ted-dict-en_GB: document format. This package contains British English spelling 
ted-dict-en_GB: dictionary (the basic Ted package already contains US English 
ted-dict-en_GB: dictionary).
ted-dict-en_GB: 
ted-dict-en_GB: 
ted-dict-en_GB: 
ted-dict-en_GB: 
ted-dict-en_GB:
"

### default pkg_download
### prepare
pkg_prepare() {
	pkg_check $SRC_DIR $TARBALL $MD5SUM &&
	cp $SRC_DIR/$TARBALL tmp/pkg
}

### default pkg_package
### build
pkg_build() {
	cd /tmp/pkg &&
	tar -xf $TARBALL -C / &&
	chown -R 0:0 /usr/share/Ted
}
