2018-06-06 11:25:00 +00:00

28 lines
804 B
Plaintext

# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=py-pyphen
_pkgname=Pyphen
pkgver=0.9.4
pkgrel=0
pkgdesc="python-based dictionary hyphenator library"
url="http://www.pyphen.org/"
arch="noarch"
license="GPL-2.0-or-later MPL LGPL-2.0-or-later"
depends="python2"
makedepends="python2-dev py-setuptools"
source="https://files.pythonhosted.org/packages/source/P/Pyphen/Pyphen-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
cd "$builddir"
python2 setup.py build
}
package() {
cd "$builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="b48dcf02c5cdf5d7ee6d6968644958af9f31fba046612016d9ae1b8cfe44d438fe769592961f93f3342cc3f3af2dfc6cd40bbfe1be67e59de9a352c33f102917 Pyphen-0.9.4.tar.gz"