Topic: [Hyperbola 0.4] PKGBUILDs for missing packages
Hyperbola 0.4 does not have a Hunspell dictionary to use with Claws or Icedove-UXP other than a Hebrew dictionary. The following PKGBUILD based on hunspell-nb AUR PKGBUILD provides a UK English dictionary that can be used by Icedove and Claws. By making small modifications to the PKGBUILD other dictionaries can be installed as well.
# Maintainer: Martin Sandsmark <martin.sandsmark@kde.org>
pkgname=hunspell-en_GB
_LOver=6.1.3
pkgver=6.1.3.2
pkgrel=1
pkgdesc='Spell checking support for British English'
arch=('any')
url='https://extensions.openoffice.org/en/node/3785'
license=('LGPL')
depends=('hunspell')
source=("https://download.documentfoundation.org/libreoffice/src/${_LOver}/libreoffice-dictionaries-${pkgver}.tar.xz")
sha512sums=('5ded2c03ca83cca9e49234f712c3e584509a547d28b8a2b2715388a8a69d5d5de5181c06d7b0488e6b5a9949aa98dca96b29b3cffcb7681a3>package() {
cd "${srcdir}/libreoffice-${pkgver}/dictionaries/en/"
install -dm755 ${pkgdir}/usr/share/hunspell
install -m644 en_GB.aff $pkgdir/usr/share/hunspell
install -m644 en_GB.dic $pkgdir/usr/share/hunspellinstall -dm755 ${pkgdir}/usr/share/myspell/dicts
ln -sv /usr/share/hunspell/en_GB.aff ${pkgdir}/usr/share/myspell/dicts/
ln -sv /usr/share/hunspell/en_GB.dic ${pkgdir}/usr/share/myspell/dicts/
}
Other useful missing packages that are easy to install include speedtest-cli (just compile the Arch PKGBUILD), streamlink (upgrade python-lxml and python-requests PKGBUILDs from Arch, removing the check sections and dependencies, and also install python-websocket-client and python-pycountry from Arch) and mtn (use AUR PKGBUILD).
I also use the srt programme in this PKGBUILD to edit subtitle files.
# Maintainer: Maxim Andersson <thesilentboatman@gmail.com>
pkgname=python-srt
_pkgname=srt
pkgver=3.5.2
pkgrel=1
pkgdesc="A tiny but featureful Python library for parsing, modifying, and
composing SRT files"
arch=('any')
url="https://github.com/cdown/srt"
license=('MIT')
depends=('python')
makedepends=('python-setuptools')
source=("https://github.com/cdown/srt/archive/${pkgver}.tar.gz")
sha512sums=('b43408c54a27bb878c9f8926ab6a26cc0403c65b5e25f033b9521e93044e3dd5d79ce18e05b62aecfab92dc42062644daed82676b36526991e434ba4a23f8f99')package() {
cd "${srcdir}/${_pkgname}-${pkgver}"install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
python setup.py install --root="${pkgdir}" --optimize=1
}# vim:set ts=2 sw=2 et: