Update tte
This commit is contained in:
1 file changed
+7
-6
@@ -2,28 +2,29 @@
|
|||||||
# Contributor: RiverOnVenus <error@zhui.dev>
|
# Contributor: RiverOnVenus <error@zhui.dev>
|
||||||
pkgname=python-terminaltexteffects
|
pkgname=python-terminaltexteffects
|
||||||
_pkgname=terminaltexteffects
|
_pkgname=terminaltexteffects
|
||||||
pkgver=0.12.0
|
pkgver=0.12.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
|
_commit=1613a8cb77abfc836e98590f3c2c5f70125a1b41
|
||||||
pkgdesc='Visual effects engine applied to text in the terminal. '
|
pkgdesc='Visual effects engine applied to text in the terminal. '
|
||||||
url="https://github.com/ChrisBuilds/terminaltexteffects"
|
url="https://github.com/ChrisBuilds/terminaltexteffects"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
depends=('python')
|
depends=('python')
|
||||||
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools' 'python-poetry-core')
|
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-hatchling')
|
||||||
provides=('terminaltexteffects')
|
provides=('terminaltexteffects')
|
||||||
conflicts=('terminaltexteffects')
|
conflicts=('terminaltexteffects')
|
||||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/ChrisBuilds/terminaltexteffects/archive/refs/tags/release-$pkgver.tar.gz")
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/ChrisBuilds/terminaltexteffects/archive/$_commit.tar.gz")
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$_pkgname-release-$pkgver" || exit
|
cd "$_pkgname-$_commit" || exit
|
||||||
python -m build --wheel --no-isolation
|
python -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$_pkgname-release-$pkgver" || exit
|
cd "$_pkgname-$_commit" || exit
|
||||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
}
|
}
|
||||||
|
|
||||||
# vim: set ts=2 sw=2 et:
|
# vim: set ts=2 sw=2 et:
|
||||||
b2sums=('5129a3c28666d4ab1dac500ce47bd06f0a52ab053d6b39f0b6c5c592c6c2958ff20b63a658bd6fda2130f925ebb424415f935ce96565bbfbd233384ff1eb6de4')
|
b2sums=('770f52cc34f8eb25c279ee2d9d45910156ebb1dab6cdffc168730d49151f9af657a198d8690eba6e4f106abfc57c4c8e012954bd85fd1652e3c8616197c3bbd5')
|
||||||
Reference in new issue
Block a user