summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cce3f1a0089b025f30613b2b0c3c1ab31ced97c9 (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
# Maintainer: peippo <christoph.fink@gmail.com>

pkgname="fasttext-langid-models"
pkgdesc="Library for fast text representation and classification – pre-trained models for language identification"
url="https://fasttext.cc/docs/en/language-identification.html"

pkgver=0.0.1
pkgrel=0

arch=("any")
license=("custom:CC-BY-SA")

source=(
    "https://s3-us-west-1.amazonaws.com/fasttext-vectors/supervised_models/lid.176.bin"
    "https://s3-us-west-1.amazonaws.com/fasttext-vectors/supervised_models/lid.176.ftz"
)
sha256sums=(
    "7e69ec5451bc261cc7844e49e4792a85d7f09c06789ec800fc4a44aec362764e"
    "8f3472cfe8738a7b6099e8e999c3cbfae0dcd15696aac7d7738a8039db603e83"
)
noextract=(
    "lid.176.bin"
    "lid.176.ftz"
    )

package() {
    install -Dm0644 "${srcdir}/lid.176.bin" "${pkgdir}/usr/share/fasttext/lid.176.bin"
    install -Dm0644 "${srcdir}/lid.176.ftz" "${pkgdir}/usr/share/fasttext/lid.176.ftz"
}