Skip to content

Commit

Permalink
python-colorscript: initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
noptrix committed Aug 31, 2023
1 parent e924022 commit d950cdf
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions packages/python-colorscript/PKGBUILD
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
}

0 comments on commit d950cdf

Please sign in to comment.