summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Fink2023-12-05 10:17:11 +0200
committerChristoph Fink2023-12-05 10:17:11 +0200
commit0e11faa7250ebf1ad7104d88e51b778b87fcb94a (patch)
tree32b587c1d09992c82babe5c16a3f17c6403f67ef
parentbd937a4d9f46231670e81613283a90b2864b0930 (diff)
downloadaur-0e11faa7250ebf1ad7104d88e51b778b87fcb94a.tar.gz
upgpkg: fasttext 0.9.2-2
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD10
2 files changed, 11 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 92b09b6c62a5..09ec9116621f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,14 @@
pkgbase = fasttext
pkgdesc = Library for fast text representation and classification
pkgver = 0.9.2
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/facebookresearch/fastText
arch = x86_64
license = BSD
+ makedepends = gcc12
depends = gcc-libs
+ optdepends = fasttext-langid-models
source = fasttext-0.9.2.tar.gz::https://github.com/facebookresearch/fastText/archive/v0.9.2.tar.gz
sha256sums = 7ea4edcdb64bfc6faaaec193ef181bdc108ee62bb6a04e48b2e80b639a99e27e
pkgname = fasttext
-
diff --git a/PKGBUILD b/PKGBUILD
index 8689e91a4077..dc63cc648d32 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ pkgdesc="Library for fast text representation and classification"
url="https://github.com/facebookresearch/fastText"
pkgver=0.9.2
-pkgrel=1
+pkgrel=2
arch=('x86_64')
license=('BSD')
@@ -13,13 +13,19 @@ license=('BSD')
depends=(
"gcc-libs"
)
+optdepends=(
+ "fasttext-langid-models"
+)
+makedepends=(
+ "gcc12"
+)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/facebookresearch/fastText/archive/v${pkgver}.tar.gz")
sha256sums=("7ea4edcdb64bfc6faaaec193ef181bdc108ee62bb6a04e48b2e80b639a99e27e")
build() {
cd "${srcdir}/fastText-${pkgver}"
- make
+ make CXX=g++-12
}
package() {