summaryrefslogtreecommitdiff
path: root/pcr/python2-clint/PKGBUILD
blob: 8b69cc2befdf04a2afbfd536fea97687def4b235 (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
# Contributor (Arch)     : (epsilom) Xavier Corredor <xavier.corredor.llano (a) gmail.com>
# Contributor (Arch)     : Alexander <rodseth@gmail.com>
# Maintainer  (Parabola) : Aurélien DESBRIÈRES <aurelien@hackes.camp>

pkgname=python2-clint
pkgver=0.3.7
pkgrel=1
pkgdesc="Module for developing commandline applications"
arch=('any')
url="http://pypi.python.org/pypi/clint/"
license=('ISC')
depends=('python2')
conflicts=('python2-clint-git')
source=("http://pypi.python.org/packages/source/c/clint/clint-$pkgver.tar.gz")

package() {
  cd "$srcdir/clint-$pkgver"

  python2 setup.py install --install-data="/usr/share/doc/$pkgname" \
    --root="$pkgdir"
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}