blob: 7ec896f33f9da2a2eb0d641d6862499ac424e45a (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Mauro Santos <registo.mailling@gmail.com>
pkgname='mythes-pt_pt'
pkgver=20060817
pkgrel=3
pkgdesc="Portuguese (European) thesaurus"
arch=('any')
url="http://download.services.openoffice.org/contrib/dictionaries/"
license=('GPL')
optdepends=('libmythes: offers thesaurus library functions')
source=("http://download.services.openoffice.org/contrib/dictionaries/thes_pt_PT_v2.zip")
md5sums=('2fa9a6845405ebb574c2f82a5cddbcbf')
PKGEXT='.pkg.tar'
build() {
/bin/true
}
package() {
cd $srcdir
install -dm755 $pkgdir/usr/share/mythes
install -m644 th_pt_PT_v2.* $pkgdir/usr/share/mythes
# the symlinks
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
# docs
install -dm755 $pkgdir/usr/share/doc/$pkgname
install -m644 README_th_pt_PT_v2.txt $pkgdir/usr/share/doc/$pkgname
# licences
install -dm755 $pkgdir/usr/share/licenses/$pkgname/
install -m644 README_th_pt_PT_v2.txt $pkgdir/usr/share/licenses/$pkgname
}
|