diff options
author | Arne Beer | 2015-12-11 15:43:08 +0100 |
---|---|---|
committer | Arne Beer | 2015-12-11 15:43:08 +0100 |
commit | e06e3185029a517b0a8464e001a608353405257a (patch) | |
tree | 70156aa1a4fc45daaaf493321bb1213ea9b1d871 /PKGBUILD | |
download | aur-e06e3185029a517b0a8464e001a608353405257a.tar.gz |
Version 1.2.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..97b89e39be89 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Arne Beer <arne@twobeer.de> + +_gitname=colorclass +pkgname=python-colorclass-git +pkgver=1.2.0 +pkgrel=1 +arch=('any') +pkgdesc='Generate simple tables in terminals from a nested list of strings.' +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" +} |