-
-
Notifications
You must be signed in to change notification settings - Fork 579
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). | ||
# See COPYING for license details. | ||
|
||
pkgname=python-colorscript | ||
_pkgname=colorscript | ||
pkgver=21.3b86bd4 | ||
pkgrel=1 | ||
pkgdesc='A scripting language for designing custom ASCII banners.' | ||
arch=('any') | ||
url='https://pypi.org/project/colorscript/#files' | ||
license=('MIT') | ||
depends=('python') | ||
makedepends=('git' 'python-setuptools') | ||
source=("$pkgname::git+https://github.com/EntySec/ColorScript.git") | ||
sha512sums=('SKIP') | ||
|
||
pkgver() { | ||
cd $pkgname | ||
|
||
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) | ||
} | ||
|
||
build() { | ||
cd $pkgname | ||
|
||
python setup.py build | ||
} | ||
|
||
package() { | ||
cd $pkgname | ||
|
||
python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build | ||
} | ||
|