blob: baa1cd39b64836f4c327534dfcffe4dd9507cb59 (
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
|
# Maintainer: Denis Kasak <dkasak AT termina.org.uk>
pkgname=english-wordnet
pkgdesc="A fork of the Princeton Wordnet developed under an open source methodology."
pkgver=2024
pkgrel=3
arch=('i686' 'x86_64')
conflicts=(wordnet-common)
provides=(wordnet-common)
url="https://en-word.net/"
license=("custom")
source=("https://en-word.net/static/english-wordnet-${pkgver}.zip"
"https://raw.githubusercontent.com/globalwordnet/english-wordnet/master/LICENSE.md")
sha256sums=('12ce54dd051b9420353f6c4ea74b34c736e23c8233d6d0bbd75407526f1fc732'
'5d02a553699c4841d8b33cc5a1313cff1f96264e36e9dc98be829dfc94a6cc73')
package() {
install -d -m755 "${pkgdir}/usr/share/wordnet"
install -m644 "${srcdir}"/oewn2024/* "${pkgdir}/usr/share/wordnet"
# Support programs expecting old data location
ln -s /usr/share/wordnet "${pkgdir}/usr/share/wordnet/dict"
install -D -m644 LICENSE.md "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
}
|