From 70fb59d81501a5e2baadb48dc5f35d8464c99455 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 16 Dec 2024 08:47:38 +0100 Subject: upgpkg: tex-fmt 0.5.0-1 upstream release --- tex-fmt/.SRCINFO | 6 +++--- tex-fmt/PKGBUILD | 16 ++++++++++++---- 2 files changed, 15 insertions(+), 7 deletions(-) (limited to 'tex-fmt') diff --git a/tex-fmt/.SRCINFO b/tex-fmt/.SRCINFO index 040d1df..52b980d 100644 --- a/tex-fmt/.SRCINFO +++ b/tex-fmt/.SRCINFO @@ -1,12 +1,12 @@ pkgbase = tex-fmt pkgdesc = An extremely fast LaTeX formatter written in Rust - pkgver = 0.4.7 + pkgver = 0.5.0 pkgrel = 1 url = https://github.com/WGUNDERWOOD/tex-fmt arch = x86_64 license = MIT makedepends = cargo - source = tex-fmt-0.4.7.tar.gz::https://github.com/WGUNDERWOOD/tex-fmt/archive/refs/tags/v0.4.7.tar.gz - sha256sums = 3259a5ee9211753787e894c10313541108149285e7eba27f8281886bb14b5c79 + source = tex-fmt-0.5.0.tar.gz::https://github.com/WGUNDERWOOD/tex-fmt/archive/refs/tags/v0.5.0.tar.gz + sha256sums = f7c8444efeaa9ad33914d2d64d92b054854a47ab0a756ed81ca333849892e6da pkgname = tex-fmt diff --git a/tex-fmt/PKGBUILD b/tex-fmt/PKGBUILD index 5694eee..c3e5281 100644 --- a/tex-fmt/PKGBUILD +++ b/tex-fmt/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Yigit Sever pkgname=tex-fmt -pkgver=0.4.7 +pkgver=0.5.0 pkgrel=1 pkgdesc="An extremely fast LaTeX formatter written in Rust" arch=('x86_64') @@ -9,7 +9,7 @@ url="https://github.com/WGUNDERWOOD/tex-fmt" license=('MIT') makedepends=(cargo) source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz") -sha256sums=('3259a5ee9211753787e894c10313541108149285e7eba27f8281886bb14b5c79') +sha256sums=('f7c8444efeaa9ad33914d2d64d92b054854a47ab0a756ed81ca333849892e6da') prepare() { cd "$srcdir/$pkgname-$pkgver" @@ -32,6 +32,14 @@ check() { package() { cd "$srcdir/$pkgname-$pkgver" - install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname" - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm0755 "target/release/$pkgname" -t "$pkgdir/usr/bin/" + + install -vDm644 "man/$pkgname.1" -t "$pkgdir/usr/share/man/man1/$pkgname.1" + + install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + "$pkgdir/usr/bin/$pkgname" --completion bash | install -Dm644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/$pkgname.bash" + "$pkgdir/usr/bin/$pkgname" --completion fish | install -Dm644 /dev/stdin "${pkgdir}/usr/share/fish/vendor_completions.d/$pkgname.fish" + "$pkgdir/usr/bin/$pkgname" --completion zsh | install -Dm644 /dev/stdin "${pkgdir}/usr/share/zsh/site-functions/_$pkgname" + } -- cgit v1.2.3-70-g09d2