blob: ba7125f566c59ad173bb2f22ad568a147c34e39d (
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: Arne Beer <arne@twobeer.de>
_gitname=colorclass
pkgname=python-colorclass-git
pkgrel=1
pkgver='r137.c7ed6d7'
arch=('any')
pkgdesc='Yet another ANSI color text library for Python. '
license=('MIT')
makedepends=('git' 'python-setuptools')
provides=('python-colorclass')
url='https://github.com/Robpol86/colorclass'
source=("git+https://github.com/Robpol86/colorclass.git")
sha256sums=('SKIP')
package() {
cd "${_gitname}"
# We don't need anything related to git in the package
rm -rf .git*
# Install
python setup.py install --optimize=1 --root="${pkgdir}"
# Install License
# MIT/X11 license
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|