summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 47081c04914cc7d3b2f8aca93f46f6362befeffe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=python-split
pkgver=0.4
pkgrel=8
pkgdesc="Functions to split or partition sequences"
arch=('any')
url="https://bitbucket.org/astanin/python-split"
license=('MIT')
depends=('python')
source=("https://pypi.io/packages/source/s/split/split-$pkgver.zip")
sha256sums=('c4be970a857d605d94999da18779bc10c34a34f937dede983268de3877b81faa')

package() {
  cd split-$pkgver
  python setup.py install --root="$pkgdir" --optimize=1
  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}