Sync AUR
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
pkgbase = python-terminaltexteffects
|
||||
pkgdesc = Visual effects engine applied to text in the terminal.
|
||||
pkgver = 0.12.0
|
||||
pkgver = 0.13.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/ChrisBuilds/terminaltexteffects
|
||||
arch = any
|
||||
@@ -11,9 +11,9 @@ pkgbase = python-terminaltexteffects
|
||||
makedepends = python-setuptools
|
||||
makedepends = python-poetry-core
|
||||
depends = python
|
||||
provides = terminaltexteffects
|
||||
provides = tte
|
||||
conflicts = terminaltexteffects
|
||||
source = python-terminaltexteffects-0.12.0.tar.gz::https://github.com/ChrisBuilds/terminaltexteffects/archive/refs/tags/release-0.12.0.tar.gz
|
||||
b2sums = 5129a3c28666d4ab1dac500ce47bd06f0a52ab053d6b39f0b6c5c592c6c2958ff20b63a658bd6fda2130f925ebb424415f935ce96565bbfbd233384ff1eb6de4
|
||||
source = python-terminaltexteffects-0.13.0.tgz::https://github.com/ChrisBuilds/terminaltexteffects/archive/release-0.13.0.tar.gz
|
||||
b2sums = 1ea2e59d28f5c6f02e73f0c93d41f1e118d20ce53ff23988ed185037a3de26037e6f67d586caf03f41c609c42294e2380067a515b8c45c30b41e0b5f8333cf7f
|
||||
|
||||
pkgname = python-terminaltexteffects
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[terminaltexteffects]
|
||||
[python-terminaltexteffects]
|
||||
source = "github"
|
||||
github = "ChrisBuilds/terminaltexteffects"
|
||||
use_latest_release = true
|
||||
|
||||
@@ -1,30 +1,39 @@
|
||||
# Maintainer: Daniel Chesters <archlinux@coin-coin.xyz>
|
||||
# Maintainer: Rafael Dominiquini <rafaeldominiquini at gmail dot com>
|
||||
# Contributor: Daniel Chesters <archlinux@coin-coin.xyz>
|
||||
# Contributor: RiverOnVenus <error@zhui.dev>
|
||||
|
||||
pkgname=python-terminaltexteffects
|
||||
_pkgname=terminaltexteffects
|
||||
pkgver=0.12.2
|
||||
pkgver=0.13.0
|
||||
pkgrel=1
|
||||
_commit=1613a8cb77abfc836e98590f3c2c5f70125a1b41
|
||||
pkgdesc='Visual effects engine applied to text in the terminal. '
|
||||
url="https://github.com/ChrisBuilds/terminaltexteffects"
|
||||
arch=('any')
|
||||
license=('MIT')
|
||||
|
||||
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools' 'python-poetry-core')
|
||||
depends=('python')
|
||||
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-hatchling')
|
||||
provides=('terminaltexteffects')
|
||||
|
||||
conflicts=('terminaltexteffects')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/ChrisBuilds/terminaltexteffects/archive/$_commit.tar.gz")
|
||||
provides=('tte')
|
||||
|
||||
source=("${pkgname}-${pkgver}.tgz::${url}/archive/release-${pkgver}.tar.gz")
|
||||
b2sums=('1ea2e59d28f5c6f02e73f0c93d41f1e118d20ce53ff23988ed185037a3de26037e6f67d586caf03f41c609c42294e2380067a515b8c45c30b41e0b5f8333cf7f')
|
||||
|
||||
build() {
|
||||
cd "$_pkgname-$_commit" || exit
|
||||
cd "${_pkgname}-release-${pkgver}" || exit
|
||||
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_pkgname-$_commit" || exit
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
cd "${_pkgname}-release-${pkgver}" || exit
|
||||
|
||||
# vim: set ts=2 sw=2 et:
|
||||
b2sums=('770f52cc34f8eb25c279ee2d9d45910156ebb1dab6cdffc168730d49151f9af657a198d8690eba6e4f106abfc57c4c8e012954bd85fd1652e3c8616197c3bbd5')
|
||||
python -m installer --destdir="${pkgdir}" dist/*.whl
|
||||
|
||||
rm -rf "${pkgdir}/usr/bin/terminaltexteffects"
|
||||
|
||||
install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
|
||||
|
||||
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user