diff options
Diffstat (limited to 'tex-fmt/PKGBUILD')
-rw-r--r-- | tex-fmt/PKGBUILD | 16 |
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 | ||
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 | } |