python-snowballstemmer 2.2.0-1

This commit is contained in:
xhaa123 2024-04-29 11:32:45 +08:00
commit 575f4ac831

29
PKGBUILD Normal file
View File

@ -0,0 +1,29 @@
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Future Linux Team <future_linux@163.com>
pkgname=python-snowballstemmer
pkgver=2.2.0
pkgrel=1
pkgdesc="Snowball stemming library collection for Python"
arch=('x86_64')
url="https://snowballstem.org"
license=('BSD')
depends=('python')
makedepends=('python-setuptools')
source=(https://files.pythonhosted.org/packages/source/s/${pkgname#*-}/${pkgname#*-}-${pkgver}.tar.gz)
sha256sums=(09b16deb8547d3412ad7b590689584cd0fe25ec8db3be37788be3810cbf19cb1)
build() {
cd ${pkgname#*-}-${pkgver}
python3 setup.py build
}
package() {
cd ${pkgname#*-}-${pkgver}
python3 setup.py install --root=${pkgdir} --optimize=1
}