Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / 
zathura-cb


Commits:
dd4ee0fd by Robin Candau at 2024-04-04T11:12:53+02:00
upgpkg: 0.1.10-6: Add .nvchecker.toml + Switch to auto generated source tarball

- - - - -


3 changed files:

- .SRCINFO
- + .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = zathura-cb
        pkgdesc = Adds comic book support to zathura
        pkgver = 0.1.10
-       pkgrel = 5
+       pkgrel = 6
        url = https://pwmt.org/projects/zathura-cb/
        arch = x86_64
        license = Zlib
@@ -10,7 +10,7 @@ pkgbase = zathura-cb
        depends = zathura
        depends = libarchive
        depends = desktop-file-utils
-       source = 
zathura-cb-0.1.10.tar.gz::https://pwmt.org/projects/zathura-cb/download/zathura-cb-0.1.10.tar.xz
-       sha256sums = 
89b0ca17a80cba1ea9fd1b3b72f3a7173f0aad3a06a8c364d865c4999c18bbc8
+       source = 
zathura-cb-0.1.10.tar.gz::https://git.pwmt.org/pwmt/zathura-cb/-/archive/0.1.10/zathura-cb-0.1.10.tar.gz
+       sha512sums = 
5f0de7b6991ca35996b9fc1d32527618b3d0df813d7803ceb7bfcd24762262ab780b01cc8f8aac5ffeb7ca42fac2ba65fd90f74000c9b1bc686d4c4af6ad2a69
 
 pkgname = zathura-cb


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,7 @@
+[zathura-cb]
+source = "gitlab"
+host = "git.pwmt.org"
+gitlab = "pwmt/zathura-cb"
+prefix = "v"
+use_max_tag = true
+exclude_regex = ".*(pre|a|alpha|b|beta|r|rc).*"


=====================================
PKGBUILD
=====================================
@@ -1,29 +1,27 @@
 # Maintainer: Johannes Löthberg <johan...@kyriasis.com>
 # Maintainer: Robin Candau <an...@archlinux.org>
 # Contributor: Lex Black <autumn-wind at web dot de>
+
 pkgname=zathura-cb
 pkgver=0.1.10
-pkgrel=5
+pkgrel=6
 pkgdesc="Adds comic book support to zathura"
 url="https://pwmt.org/projects/zathura-cb/";
 arch=('x86_64')
 license=('Zlib')
 depends=('zathura' 'libarchive' 'desktop-file-utils')
 makedepends=('meson' 'ninja')
-source=(zathura-cb-$pkgver.tar.gz::https://pwmt.org/projects/zathura-cb/download/zathura-cb-$pkgver.tar.xz)
-sha256sums=('89b0ca17a80cba1ea9fd1b3b72f3a7173f0aad3a06a8c364d865c4999c18bbc8')
+source=("${pkgname}-${pkgver}.tar.gz::https://git.pwmt.org/pwmt/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha512sums=('5f0de7b6991ca35996b9fc1d32527618b3d0df813d7803ceb7bfcd24762262ab780b01cc8f8aac5ffeb7ca42fac2ba65fd90f74000c9b1bc686d4c4af6ad2a69')
 
 build() {
-  cd zathura-cb-$pkgver
-  arch-meson build
-
-  cd build
-  ninja
+        cd "${pkgname}-${pkgver}"
+        arch-meson build
+        ninja -C build
 }
 
 package() {
-  cd zathura-cb-$pkgver/build
-
-  DESTDIR="$pkgdir" ninja install
-  install -Dm664 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+        cd "${pkgname}-${pkgver}"
+        DESTDIR="${pkgdir}" ninja -C build install
+        install -Dm 664 LICENSE 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/zathura-cb/-/commit/dd4ee0fd5ef4d46d7ee3a9eeb207aa62703ac5c3

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


Reply via email to