summaryrefslogtreecommitdiffstats
path: root/tex-fmt/PKGBUILD
diff options
context:
space:
mode:
authorYigit Sever2024-12-16 08:47:38 +0100
committerYigit Sever2024-12-16 09:04:51 +0100
commit70fb59d81501a5e2baadb48dc5f35d8464c99455 (patch)
tree67bebed69f5eb6e6d5ae5f22e6f1b8713692cd45 /tex-fmt/PKGBUILD
parente4c79a34b0517093d08e029ffe3f6448e7e97c4e (diff)
downloadpackages-70fb59d81501a5e2baadb48dc5f35d8464c99455.tar.gz
packages-70fb59d81501a5e2baadb48dc5f35d8464c99455.tar.bz2
packages-70fb59d81501a5e2baadb48dc5f35d8464c99455.zip
upgpkg: tex-fmt 0.5.0-1
upstream release
Diffstat (limited to 'tex-fmt/PKGBUILD')
-rw-r--r--tex-fmt/PKGBUILD16
1 files changed, 12 insertions, 4 deletions
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 @@
1# Maintainer: Yigit Sever <yigit at yigitsever dot com> 1# Maintainer: Yigit Sever <yigit at yigitsever dot com>
2 2
3pkgname=tex-fmt 3pkgname=tex-fmt
4pkgver=0.4.7 4pkgver=0.5.0
5pkgrel=1 5pkgrel=1
6pkgdesc="An extremely fast LaTeX formatter written in Rust" 6pkgdesc="An extremely fast LaTeX formatter written in Rust"
7arch=('x86_64') 7arch=('x86_64')
@@ -9,7 +9,7 @@ url="https://github.com/WGUNDERWOOD/tex-fmt"
9license=('MIT') 9license=('MIT')
10makedepends=(cargo) 10makedepends=(cargo)
11source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz") 11source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
12sha256sums=('3259a5ee9211753787e894c10313541108149285e7eba27f8281886bb14b5c79') 12sha256sums=('f7c8444efeaa9ad33914d2d64d92b054854a47ab0a756ed81ca333849892e6da')
13 13
14prepare() { 14prepare() {
15 cd "$srcdir/$pkgname-$pkgver" 15 cd "$srcdir/$pkgname-$pkgver"
@@ -32,6 +32,14 @@ check() {
32 32
33package() { 33package() {
34 cd "$srcdir/$pkgname-$pkgver" 34 cd "$srcdir/$pkgname-$pkgver"
35 install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname" 35 install -Dm0755 "target/release/$pkgname" -t "$pkgdir/usr/bin/"
36 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" 36
37 install -vDm644 "man/$pkgname.1" -t "$pkgdir/usr/share/man/man1/$pkgname.1"
38
39 install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
40
41 "$pkgdir/usr/bin/$pkgname" --completion bash | install -Dm644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/$pkgname.bash"
42 "$pkgdir/usr/bin/$pkgname" --completion fish | install -Dm644 /dev/stdin "${pkgdir}/usr/share/fish/vendor_completions.d/$pkgname.fish"
43 "$pkgdir/usr/bin/$pkgname" --completion zsh | install -Dm644 /dev/stdin "${pkgdir}/usr/share/zsh/site-functions/_$pkgname"
44
37} 45}