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