diff options
author | Yigit Sever | 2024-12-16 08:47:38 +0100 |
---|---|---|
committer | Yigit Sever | 2024-12-16 09:04:51 +0100 |
commit | 70fb59d81501a5e2baadb48dc5f35d8464c99455 (patch) | |
tree | 67bebed69f5eb6e6d5ae5f22e6f1b8713692cd45 /tex-fmt | |
parent | e4c79a34b0517093d08e029ffe3f6448e7e97c4e (diff) | |
download | packages-70fb59d81501a5e2baadb48dc5f35d8464c99455.tar.gz packages-70fb59d81501a5e2baadb48dc5f35d8464c99455.tar.bz2 packages-70fb59d81501a5e2baadb48dc5f35d8464c99455.zip |
upgpkg: tex-fmt 0.5.0-1
upstream release
Diffstat (limited to 'tex-fmt')
-rw-r--r-- | tex-fmt/.SRCINFO | 6 | ||||
-rw-r--r-- | tex-fmt/PKGBUILD | 16 |
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 @@ | |||
1 | pkgbase = tex-fmt | 1 | pkgbase = 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 | ||
12 | pkgname = tex-fmt | 12 | 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 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | 1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> |
2 | 2 | ||
3 | pkgname=tex-fmt | 3 | pkgname=tex-fmt |
4 | pkgver=0.4.7 | 4 | pkgver=0.5.0 |
5 | pkgrel=1 | 5 | pkgrel=1 |
6 | pkgdesc="An extremely fast LaTeX formatter written in Rust" | 6 | pkgdesc="An extremely fast LaTeX formatter written in Rust" |
7 | arch=('x86_64') | 7 | arch=('x86_64') |
@@ -9,7 +9,7 @@ url="https://github.com/WGUNDERWOOD/tex-fmt" | |||
9 | license=('MIT') | 9 | license=('MIT') |
10 | makedepends=(cargo) | 10 | makedepends=(cargo) |
11 | source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz") | 11 | source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz") |
12 | sha256sums=('3259a5ee9211753787e894c10313541108149285e7eba27f8281886bb14b5c79') | 12 | sha256sums=('f7c8444efeaa9ad33914d2d64d92b054854a47ab0a756ed81ca333849892e6da') |
13 | 13 | ||
14 | prepare() { | 14 | prepare() { |
15 | cd "$srcdir/$pkgname-$pkgver" | 15 | cd "$srcdir/$pkgname-$pkgver" |
@@ -32,6 +32,14 @@ check() { | |||
32 | 32 | ||
33 | package() { | 33 | package() { |
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 | } |