summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 92448c7ab2312fabbf06b56af2f7ec10d0019133 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: robertfoster

pkgname=python-panphon
pkgver=0.19.1
pkgrel=2
pkgdesc="Python package and data files for manipulating phonological segments (phones, phonemes) in terms of universal phonological features."
arch=('any')
depends=('python' 'python-editdistance' 'python-munkres' 'python-numpy' 'python-yaml' 'python-regex' 'python-unicodecsv')
makedepends=('python-setuptools')
url="https://github.com/dmort27/panphon"
license=('MIT')
options=(!emptydirs)
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/$pkgver.tar.gz")

package() {
  cd ${pkgname##python-}-$pkgver

  python setup.py install --root="$pkgdir" --optimize=1
}

sha256sums=('9d5a189c8f8ef8cf4b1dfa90c0c0c66543d4257591b37d8b95fc8bfe81a09a0a')