summaryrefslogtreecommitdiffstats
path: root/tex-fmt
diff options
context:
space:
mode:
Diffstat (limited to 'tex-fmt')
-rw-r--r--tex-fmt/.SRCINFO6
-rw-r--r--tex-fmt/PKGBUILD16
2 files changed, 15 insertions, 7 deletions
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 @@
1pkgbase = tex-fmt 1pkgbase = tex-fmt
2 pkgdesc = An extremely fast LaTeX formatter written in Rust 2 pkgdesc = An extremely fast LaTeX formatter written in Rust
3 pkgver = 0.4.7 3 pkgver = 0.5.0
4 pkgrel = 1 4 pkgrel = 1
5 url = https://github.com/WGUNDERWOOD/tex-fmt 5 url = https://github.com/WGUNDERWOOD/tex-fmt
6 arch = x86_64 6 arch = x86_64
7 license = MIT 7 license = MIT
8 makedepends = cargo 8 makedepends = cargo
9 source = tex-fmt-0.4.7.tar.gz::https://github.com/WGUNDERWOOD/tex-fmt/archive/refs/tags/v0.4.7.tar.gz 9 source = tex-fmt-0.5.0.tar.gz::https://github.com/WGUNDERWOOD/tex-fmt/archive/refs/tags/v0.5.0.tar.gz
10 sha256sums = 3259a5ee9211753787e894c10313541108149285e7eba27f8281886bb14b5c79 10 sha256sums = f7c8444efeaa9ad33914d2d64d92b054854a47ab0a756ed81ca333849892e6da
11 11
12pkgname = tex-fmt 12pkgname = 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 @@
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}