summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8eca6f64488a5118535eb50d27c5fdbfd849f8ff (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
# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>

_pkgname='syllables'
pkgname="python-${_pkgname}"
pkgver=0.1.0
pkgrel=2
pkgdesc='Python package for estimating the number of syllables in a word'
arch=('any')
url='https://github.com/prosegrinder/python-syllables'
_url_pypi='https://pypi.org/project/syllables'
license=('GPL3')
depends=('python')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('4d65e542db97927ccce04f6668bda528f29f346bf7f5d8524c436eabae8a4cd6')

build() {
  cd "${_pkgname}-${pkgver}"
  python setup.py build
}

package() {
  cd "${_pkgname}-${pkgver}"
  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
  install -Dvm644 'README.md' -t "${pkgdir}/usr/share/doc/${pkgname}"
}

# vim: ts=2 sw=2 et: