ttfx: point at renamed repo, bump to v0.1.1
The repo is now omacom-io/ttfx, matching the binary and package name, so the source URL and archive checksum change with it (the tarball's top-level directory is the repo name). v0.1.1 adds NOTICE and a standard-form MIT LICENSE, both now installed. Rebuilt and verified with makepkg on x86_64. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
23d7d6c4e8
commit
32cf2939a7
1 file changed
+8
-9
@@ -1,36 +1,34 @@
|
|||||||
# Maintainer: David Heinemeier Hansson <david@hey.com>
|
# Maintainer: David Heinemeier Hansson <david@hey.com>
|
||||||
|
|
||||||
pkgname=ttfx
|
pkgname=ttfx
|
||||||
pkgver=0.1.0
|
pkgver=0.1.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Terminal text effects as a single static binary — Rust port of terminaltexteffects"
|
pkgdesc="Terminal text effects as a single static binary — Rust port of terminaltexteffects"
|
||||||
arch=('x86_64' 'aarch64')
|
arch=('x86_64' 'aarch64')
|
||||||
url="https://github.com/omacom-io/termfx"
|
url="https://github.com/omacom-io/ttfx"
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
depends=('gcc-libs' 'glibc')
|
depends=('gcc-libs' 'glibc')
|
||||||
makedepends=('cargo')
|
makedepends=('cargo')
|
||||||
options=('!debug')
|
options=('!debug')
|
||||||
|
|
||||||
# The repo is omacom-io/termfx; the binary it ships is `ttfx`.
|
|
||||||
_srcname=termfx
|
|
||||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
|
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
|
||||||
sha256sums=('d5aa53227fd79b4bc4031c521c042daf64d592dd55ddc772cdaaaca62e30464a')
|
sha256sums=('1b6c991427054a56ebf26c9fc5bc88f53e69382d0f6cb6788fcdb6304b763c07')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$_srcname-$pkgver"
|
cd "$pkgname-$pkgver"
|
||||||
|
|
||||||
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
|
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$_srcname-$pkgver"
|
cd "$pkgname-$pkgver"
|
||||||
|
|
||||||
export CARGO_TARGET_DIR=target
|
export CARGO_TARGET_DIR=target
|
||||||
cargo build --frozen --release
|
cargo build --frozen --release
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
cd "$_srcname-$pkgver"
|
cd "$pkgname-$pkgver"
|
||||||
|
|
||||||
# Engine goldens and state-machine traces only. The frame-parity suites are
|
# Engine goldens and state-machine traces only. The frame-parity suites are
|
||||||
# deliberately skipped here: they need python3 plus a network clone of the
|
# deliberately skipped here: they need python3 plus a network clone of the
|
||||||
@@ -40,10 +38,11 @@ check() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$_srcname-$pkgver"
|
cd "$pkgname-$pkgver"
|
||||||
|
|
||||||
install -Dm755 "target/release/ttfx" "$pkgdir/usr/bin/ttfx"
|
install -Dm755 "target/release/ttfx" "$pkgdir/usr/bin/ttfx"
|
||||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
|
install -Dm644 NOTICE "$pkgdir/usr/share/licenses/$pkgname/NOTICE"
|
||||||
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
|
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
|
||||||
|
|
||||||
"target/release/ttfx" --print-completion bash |
|
"target/release/ttfx" --print-completion bash |
|
||||||
|
|||||||
Reference in new issue
Block a user