<?xml version="1.0"?>
<package name="writing-aid-en">
	<description>dictionary, hyphenation and thesaurus for 'en'</description>
	<releases>
		<release version="20100316" revision="2">
			<deps>
				<dep name="hunspell"/>
				<dep name="hyphen"/>
				<dep name="mythes"/>
				<dep name="unzip"/>
			</deps>
			<build>
				<sources>
					<file>dict-en-$VERSION.oxt</file>
				</sources>
				<script>
					<cmd>rm -rf hunspell-dictionary</cmd>
					<cmd>mkdir hunspell-dictionary</cmd>
					<cmd>pushd hunspell-dictionary</cmd>
					<cmd>unzip $PACKAGESOURCEDIR/dict-en-$VERSION.oxt</cmd>
					<cmd>install -dv /usr/share/hunspell</cmd>
					<cmd>cp en_*.{dic,aff} /usr/share/hunspell</cmd>
					<cmd>install -dv /usr/share/hyphen</cmd>
					<cmd>cp hyph_en_*.dic /usr/share/hyphen</cmd>
					<cmd>install -dv /usr/share/mythes</cmd>
					<cmd>cp th_en_*_v2.{dat,idx} /usr/share/mythes</cmd>
					<cmd>popd</cmd>
					<cmd>rm -rf hunspell-dictionary</cmd>
				</script>
			</build>
		</release>
	</releases>
</package>
