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


Commits:
6574bb10 by Robin Candau at 2024-04-04T11:20:27+02:00
upgpkg: 0.2.7-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-ps
        pkgdesc = Adds ps support to zathura by using the libspectre library
        pkgver = 0.2.7
-       pkgrel = 5
+       pkgrel = 6
        url = https://pwmt.org/projects/zathura-ps
        arch = x86_64
        license = Zlib
@@ -10,7 +10,7 @@ pkgbase = zathura-ps
        depends = libspectre
        depends = zathura
        depends = desktop-file-utils
-       source = 
zathura-ps-0.2.7.tar.gz::https://github.com/pwmt/zathura-ps/archive/0.2.7.tar.gz
+       source = 
zathura-ps-0.2.7.tar.gz::https://git.pwmt.org/pwmt/zathura-ps/-/archive/0.2.7/zathura-ps-0.2.7.tar.gz
        sha512sums = 
b7074d941180938cc5ab3756c587d2bb7e6a87a04707c04eb9707664966ef6fb2f2b8e7b60cb5be0a2548ebb8ab4d2759aa9727f02085946fe6c66a0c559639d
 
 pkgname = zathura-ps


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


=====================================
PKGBUILD
=====================================
@@ -5,23 +5,24 @@
 
 pkgname=zathura-ps
 pkgver=0.2.7
-pkgrel=5
+pkgrel=6
 pkgdesc="Adds ps support to zathura by using the libspectre library"
 url="https://pwmt.org/projects/zathura-ps";
 arch=('x86_64')
 license=('Zlib')
 depends=('libspectre' 'zathura' 'desktop-file-utils')
 makedepends=('meson' 'ninja')
-source=(zathura-ps-$pkgver.tar.gz::https://github.com/pwmt/zathura-ps/archive/$pkgver.tar.gz)
+source=("${pkgname}-${pkgver}.tar.gz::https://git.pwmt.org/pwmt/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
 
sha512sums=('b7074d941180938cc5ab3756c587d2bb7e6a87a04707c04eb9707664966ef6fb2f2b8e7b60cb5be0a2548ebb8ab4d2759aa9727f02085946fe6c66a0c559639d')
 
-build(){
-  cd zathura-ps-$pkgver
-  arch-meson build
-  ninja -C build
+build() {
+        cd "${pkgname}-${pkgver}"
+        arch-meson build
+        ninja -C build
 }
 
-package(){
-  DESTDIR="$pkgdir" ninja -C zathura-ps-$pkgver/build install
-  install -Dm0644 zathura-ps-$pkgver/LICENSE 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+package() {
+        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-ps/-/commit/6574bb109a1276bdf199468dfaff7f6e56618e29

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


Reply via email to