Orhun Parmaksız pushed to branch main at Arch Linux / Packaging / Packages / 
qrtool


Commits:
53cbd485 by Orhun Parmaksız at 2024-07-25T14:49:05+03:00
upgpkg: 0.11.3-1: upstream release

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = qrtool
        pkgdesc = An utility for encoding or decoding QR code
-       pkgver = 0.10.10
+       pkgver = 0.11.3
        pkgrel = 1
        url = https://github.com/sorairolake/qrtool
        arch = x86_64
@@ -8,8 +8,10 @@ pkgbase = qrtool
        license = Apache-2.0
        license = CC-BY-4.0
        makedepends = cargo
+       makedepends = asciidoctor
        depends = gcc-libs
-       source = 
qrtool-0.10.10.tar.gz::https://github.com/sorairolake/qrtool/archive/v0.10.10.tar.gz
-       sha512sums = 
598b24348be61b4d8df0498355800bb0c9f181a1b946e87f2a63248ed09104d5d3ae6e05560ec0edce19c3b59dfcebfe1285fcb1a48643480d83e76170b46442
+       options = !lto
+       source = 
qrtool-0.11.3.tar.gz::https://github.com/sorairolake/qrtool/archive/v0.11.3.tar.gz
+       sha512sums = 
91dcc214500ee64b36822c1c1b2c7bfdb1e9cad7e75c2c8e901cf733c85d11c596346487645998ad16113435e1a40447259066b3c550fc0013b9f685507ec219
 
 pkgname = qrtool


=====================================
PKGBUILD
=====================================
@@ -1,21 +1,23 @@
 # Maintainer: Orhun Parmaksız <or...@archlinux.org>
 
 pkgname=qrtool
-pkgver=0.10.10
+pkgver=0.11.3
 pkgrel=1
 pkgdesc="An utility for encoding or decoding QR code"
 arch=('x86_64')
 url="https://github.com/sorairolake/qrtool";
 license=('MIT' 'Apache-2.0' 'CC-BY-4.0')
 depends=('gcc-libs')
-makedepends=('cargo')
+makedepends=('cargo' 'asciidoctor')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('598b24348be61b4d8df0498355800bb0c9f181a1b946e87f2a63248ed09104d5d3ae6e05560ec0edce19c3b59dfcebfe1285fcb1a48643480d83e76170b46442')
+sha512sums=('91dcc214500ee64b36822c1c1b2c7bfdb1e9cad7e75c2c8e901cf733c85d11c596346487645998ad16113435e1a40447259066b3c550fc0013b9f685507ec219')
+options=('!lto')
 
 prepare() {
   cd "$pkgname-$pkgver"
   cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
   mkdir completions/
+  mkdir man/
 }
 
 build() {
@@ -26,6 +28,10 @@ build() {
   $compgen elvish >"completions/$pkgbase.elv"
   $compgen fish >"completions/$pkgbase.fish"
   $compgen zsh >"completions/_$pkgbase"
+  asciidoctor -b manpage "docs/man/man1/$pkgname.1.adoc"
+  asciidoctor -b manpage "docs/man/man1/$pkgname-encode.1.adoc"
+  asciidoctor -b manpage "docs/man/man1/$pkgname-decode.1.adoc"
+  asciidoctor -b manpage "docs/man/man1/$pkgname-help.1.adoc"
 }
 
 check() {
@@ -43,6 +49,10 @@ package() {
   install -Dm644 "completions/$pkgbase.elv" -t "$pkgdir/usr/share/elvish/lib/"
   install -Dm644 "completions/$pkgbase.fish" -t 
"$pkgdir/usr/share/fish/vendor_completions.d/"
   install -Dm644 "completions/_$pkgbase" -t 
"$pkgdir/usr/share/zsh/site-functions/"
+  install -Dm644 "docs/man/man1/$pkgname.1" -t "$pkgdir/usr/share/man/man1/"
+  install -Dm644 "docs/man/man1/$pkgname-encode.1" -t 
"$pkgdir/usr/share/man/man1/"
+  install -Dm644 "docs/man/man1/$pkgname-decode.1" -t 
"$pkgdir/usr/share/man/man1/"
+  install -Dm644 "docs/man/man1/$pkgname-help.1" -t 
"$pkgdir/usr/share/man/man1/"
 }
 
 # vim: ts=2 sw=2 et:



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/qrtool/-/commit/53cbd4852b58b051ce860dc1a99539519226660a

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/qrtool/-/commit/53cbd4852b58b051ce860dc1a99539519226660a
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to