diff options
author | Jakub Klinkovský | 2015-07-27 12:13:35 +0200 |
---|---|---|
committer | Jakub Klinkovský | 2015-07-27 12:13:35 +0200 |
commit | 54194178c6bbd84f84c41188899629655631eea0 (patch) | |
tree | 5a174ef76bd763154b3ab85e66650bf0ff0b8bb1 /PKGBUILD | |
download | aur-54194178c6bbd84f84c41188899629655631eea0.tar.gz |
initial commit (version 20061030-1)
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b57319943112 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Jakub Klinkovský <kuba.klinkovsky@gmail.com> + +pkgname="hyphen-cs" +pkgdesc="Czech hyphenation rules" +pkgver=20061030 +pkgrel=1 +arch=("any") +optdepends=("hyphen: offers hyphenation library functions") +url="http://ooo.mirror.dkm.cz/pub/openoffice/contrib/dictionaries/" +license=("GPL2") +source=(${url}hyph_cs_CZ.zip) +md5sums=('7dc7192fb3c141db6518c54781df6846') + +build() { + /bin/true +} + +package() { + cd "$srcdir" + install -dm755 ${pkgdir}/usr/share/hyphen + install -m644 hyph_cs_CZ.dic ${pkgdir}/usr/share/hyphen + + # the symlinks + install -dm755 ${pkgdir}/usr/share/myspell/dicts + pushd ${pkgdir}/usr/share/myspell/dicts + for file in ${pkgdir}/usr/share/hyphen/*; do + ln -sv /usr/share/hyphen/$(basename $file) . + done + popd + + # docs + install -dm755 ${pkgdir}/usr/share/doc/$pkgname + install -m644 README_hyph_cs_CZ.txt ${pkgdir}/usr/share/doc/$pkgname +} |