Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages / 
gitui


Commits:
ca0b31d4 by Caleb Maclennan at 2024-05-03T12:16:56+03:00
upgpkg: 0.26.1-3: Move .so deps where they won't find the wrong architecture

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = gitui
        pkgdesc = Blazing fast terminal-ui for git written in Rust
        pkgver = 0.26.1
-       pkgrel = 2
+       pkgrel = 3
        url = https://github.com/extrawurst/gitui
        arch = x86_64
        license = MIT
@@ -9,8 +9,8 @@ pkgbase = gitui
        makedepends = git
        makedepends = python
        depends = gcc-libs
+       depends = glibc
        depends = libgit2
-       depends = libgit2.so
        depends = libxcb
        depends = openssl
        depends = zlib
@@ -18,3 +18,11 @@ pkgbase = gitui
        sha256sums = SKIP
 
 pkgname = gitui
+       depends = gcc-libs
+       depends = glibc
+       depends = libgit2
+       depends = libxcb
+       depends = openssl
+       depends = zlib
+       depends = libgit2.so
+       depends = libz.so


=====================================
PKGBUILD
=====================================
@@ -5,13 +5,13 @@
 
 pkgname=gitui
 pkgver=0.26.1
-pkgrel=2
+pkgrel=3
 pkgdesc='Blazing fast terminal-ui for git written in Rust'
 url='https://github.com/extrawurst/gitui'
 arch=('x86_64')
 license=('MIT')
 # work around two libssl.so providers being in the repos by only depending on 
package for now
-depends=('gcc-libs' 'libgit2' 'libgit2.so' 'libxcb' 'openssl' 'zlib')
+depends=('gcc-libs' 'glibc' 'libgit2' 'libxcb' 'openssl' 'zlib')
 makedepends=('cargo' 'git' 'python') # xcb crate needs python
 source=("git+$url.git?tag=$pkgver")
 sha256sums=('SKIP')
@@ -33,6 +33,7 @@ check() {
 }
 
 package() {
+  depends+=(libgit2.so libz.so)
   cd "$pkgname"
   install -Dm 755 target/release/gitui -t "${pkgdir}/usr/bin/"
   install -Dm 644 {KEY_CONFIG,README,THEMES}.md -t 
"${pkgdir}/usr/share/doc/${pkgname}"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gitui/-/commit/ca0b31d4e8e1f37b77e78d598d20db46c84cdfbf

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gitui/-/commit/ca0b31d4e8e1f37b77e78d598d20db46c84cdfbf
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to