Robin Candau pushed to branch main at Arch Linux / Packaging / Packages /
zathura
Commits:
a30d07ce by Robin Candau at 2024-04-04T10:27:38+02:00
upgpkg: 0.5.5-2: Add .nvchecker.toml + Switch to auto generated source tarball
- - - - -
3 changed files:
- .SRCINFO
- + .nvchecker.toml
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = zathura
pkgdesc = Minimalistic document viewer
pkgver = 0.5.5
- pkgrel = 1
+ pkgrel = 2
url = https://pwmt.org/projects/zathura/
arch = x86_64
license = Zlib
@@ -24,7 +24,7 @@ pkgbase = zathura
optdepends = zathura-pdf-mupdf: PDF support using MuPDF
optdepends = zathura-ps: PostScript support
optdepends = zathura-cb: Comic book support
- source =
zathura-0.5.5.tar.gz::https://deb.debian.org/debian/pool/main/z/zathura/zathura_0.5.5.orig.tar.xz
- sha256sums =
eb5d7af54bb0fc88f5f03f6be3fc3a18bfddd28d93ed9e6136bbdb8ff3baf88f
+ source =
zathura-0.5.5.tar.gz::https://git.pwmt.org/pwmt/zathura/-/archive/0.5.5/zathura-0.5.5.tar.gz
+ sha512sums =
b26e5987c54361d15710c48c2ad54dd49d986c0629871d86fdfe91aae26662501ae8f620ebec5cad9078b25ee7bf46d3aa53764c16afee18c450b1142c429558
pkgname = zathura
=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,7 @@
+[zathura]
+source = "gitlab"
+host = "git.pwmt.org"
+gitlab = "pwmt/zathura"
+prefix = "v"
+use_max_tag = true
+exclude_regex = ".*(pre|a|alpha|b|beta|r|rc).*"
=====================================
PKGBUILD
=====================================
@@ -6,7 +6,7 @@
pkgname=zathura
pkgver=0.5.5
-pkgrel=1
+pkgrel=2
pkgdesc="Minimalistic document viewer"
url="https://pwmt.org/projects/zathura/"
arch=('x86_64')
@@ -19,29 +19,24 @@ optdepends=('zathura-djvu: DjVu support'
'zathura-pdf-mupdf: PDF support using MuPDF'
'zathura-ps: PostScript support'
'zathura-cb: Comic book support')
-# Temporarily switch sources while waiting for upstream to fix sources
uploading on the pwmt.org website
-# See https://git.pwmt.org/pwmt/zathura/-/issues/407#note_2414
-source=(zathura-$pkgver.tar.gz::https://deb.debian.org/debian/pool/main/z/zathura/zathura_$pkgver.orig.tar.xz)
-#source=(zathura-$pkgver.tar.gz::https://pwmt.org/projects/zathura/download/zathura-$pkgver.tar.xz)
-sha256sums=('eb5d7af54bb0fc88f5f03f6be3fc3a18bfddd28d93ed9e6136bbdb8ff3baf88f')
+source=("${pkgname}-${pkgver}.tar.gz::https://git.pwmt.org/pwmt/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('b26e5987c54361d15710c48c2ad54dd49d986c0629871d86fdfe91aae26662501ae8f620ebec5cad9078b25ee7bf46d3aa53764c16afee18c450b1142c429558')
build() {
- cd zathura-$pkgver
- arch-meson build
+ cd "${pkgname}-${pkgver}"
+ arch-meson build
- cd build
- ninja
+ cd build
+ ninja
}
check() {
- cd zathura-$pkgver/build
-
- ninja test
+ cd "${pkgname}-${pkgver}/build"
+ ninja test
}
package() {
- cd zathura-$pkgver/build
- DESTDIR="$pkgdir" ninja install
-
- install -D -m664 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ cd "${pkgname}-${pkgver}/build"
+ DESTDIR="${pkgdir}/" ninja install
+ install -Dm 664 ../LICENSE
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/zathura/-/commit/a30d07cecd718bff8ec93a7bba899c57f719ce10
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/zathura/-/commit/a30d07cecd718bff8ec93a7bba899c57f719ce10
You're receiving this email because of your account on gitlab.archlinux.org.