Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / girara


Commits:
8d20bb8d by Robin Candau at 2024-04-04T10:55:01+02:00
Harmonise every zathura related PKGBUILD

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -21,20 +21,18 @@ 
source=("${pkgname}-${pkgver}.tar.gz::https://git.pwmt.org/pwmt/${pkgname}/-/arc
 
sha512sums=('0dcde66101f5779c879f5847e8cb9d5777c6fa803733b6fe9c05e17385b608cc02f2e119d456aa4810f623290057e9344bbcc6a64b4b36b4733b60b7e8d885b6')
 
 build() {
-       cd "${pkgname}-${pkgver}"
-       arch-meson build
-
-       cd build
-       ninja
+        cd "${pkgname}-${pkgver}"
+        arch-meson build
+        ninja -C build
 }
 
 check() {
-       cd "${pkgname}-${pkgver}/build"
-       ninja test
+        cd "${pkgname}-${pkgver}"
+        ninja -C build test
 }
 
 package() {
-       cd "${pkgname}-${pkgver}/build"
-       DESTDIR="${pkgdir}/" ninja install
-       install -Dm 664 ../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/girara/-/commit/8d20bb8d16eac21104316fa8a47836721319d2d8

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


Reply via email to