debian swirl logo

Back to the packages list aspell-sv

#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk

#DEB_INSTALL_CHANGELOGS_ALL := doc/ChangeLog
#DEB_INSTALL_DOCS_ALL := doc/SCOWL-README

DICT_LANG := sv

install/aspell-$(DICT_LANG)::
		for f in *.cwl; do \
		    gzip -9 -c "$$f" > "$(DEB_DESTDIR)/usr/share/aspell/"$$f".gz"; \
	    WL= `echo $$f | sed 's/\.cwl$$//'`; \
		    dh_link "var/lib/aspell/$$WL.rws" "usr/lib/aspell/$$WL.rws"; \
		    echo "$$WL" >> "$(DEB_DESTDIR)/usr/share/aspell/$(DICT_LANG).contents"; \
		done

		installdeb-aspell

Builds:

aspell-sv
swedish dictionary for gnu aspell