aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-snowballstemmer/APKBUILD
blob: 09c36f4433f0f3e783062404c18e7c0ab7583355 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=py-snowballstemmer
_pkgname=snowballstemmer
pkgver=1.2.0
pkgrel=0
pkgdesc="Snowball stemming library collection for Python"
url="https://github.com/shibukawa/snowball_py"
arch="noarch"
license="BSD"
depends=""
makedepends="python2-dev"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python setup.py build || return 1
}

package() {
	cd "$builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="51f2ef829db8129dd0f2354f0b209970  snowballstemmer-1.2.0.tar.gz"
sha256sums="6d54f350e7a0e48903a4e3b6b2cabd1b43e23765fbc975065402893692954191  snowballstemmer-1.2.0.tar.gz"
sha512sums="3359657867b9478bb58e6cc67a08212a490d5af07fed7098871b1e6a59def0031bd0c2a846cc9a0d70c94c64ba4d2ccb2f41afedde61d4a7235d26f68374bd02  snowballstemmer-1.2.0.tar.gz"