blob: 692ac61ada31a6e300d0a6e7e98cb160d77895c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Maintainer: Serhii Hordiienko <phrippy2@gmail.com>
pkgname=mythes-uk
_srcver=7.5.0
_srcrel=1
pkgver=${_srcver//[~-]/_}
pkgrel=${_srcrel}.1
pkgdesc="Ukrainian thesaurus"
arch=(any)
url='http://ftp.br.debian.org/debian/pool/main/libr/libreoffice-dictionaries'
license=('GPL')
optdepends=('libmythes: offers thesaurus library functions')
source=(${url}/${pkgname}_${_srcver}-${_srcrel}_all.deb)
sha256sums=('b124db3f4acaf21c7b5f42518d92750927f851504ac357bcc555c89b9bd84d35')
package() {
cd "$srcdir"
bsdtar -xf data.tar.xz -C "$pkgdir"
install -dm755 ${pkgdir}/usr/share/myspell/dicts
pushd $pkgdir/usr/share/myspell/dicts
for file in $pkgdir/usr/share/mythes/*; do
ln -sv /usr/share/mythes/$(basename $file) .
done
popd
}
|