summaryrefslogtreecommitdiff
path: root/pcr/python2-clint/PKGBUILD
blob: c20ac269cda4c844400bab17420839e60df8a2bb (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
# Maintainer (Arch): XavierCLL
# Contributor (Arch): Alexander <rodseth@gmail.com>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>

pkgname=python2-clint
pkgver=0.5.1
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")
sha256sums=('05224c32b1075563d0b16d0015faaf9da43aa214e4a2140e51f08789e7a4c5aa')

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"
}