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


Commits:
476b7a6f by Caleb Maclennan at 2024-05-03T11:51:52+03:00
upgpkg: 1.0.20-2: Move .so deps where they won't find the wrong architecture

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,20 @@
+pkgbase = committed
+       pkgdesc = Nitpicking your commit history
+       pkgver = 1.0.20
+       pkgrel = 2
+       url = https://github.com/crate-ci/committed
+       arch = x86_64
+       license = Apache-2.0
+       license = MIT
+       makedepends = cargo
+       depends = gcc-libs
+       depends = glibc
+       depends = libgit2
+       source = 
committed-1.0.20.tar.gz::https://github.com/crate-ci/committed/archive/v1.0.20.tar.gz
+       sha256sums = 
bb89632260499ae9dbbf1b2cd43dc9d43337e75259f84f762f821b1eb358849b
+
+pkgname = committed
+       depends = gcc-libs
+       depends = glibc
+       depends = libgit2
+       depends = libgit2.so


=====================================
PKGBUILD
=====================================
@@ -3,19 +3,19 @@
 
 pkgname=committed
 pkgver=1.0.20
-pkgrel=1
+pkgrel=2
 pkgdesc="Nitpicking your commit history"
 arch=('x86_64')
 url="https://github.com/crate-ci/committed";
-license=('Apache' 'MIT')
-depends=('gcc-libs' 'libgit2.so')
+license=('Apache-2.0' 'MIT')
+depends=('gcc-libs' 'glibc' 'libgit2')
 makedepends=('cargo')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
 sha256sums=('bb89632260499ae9dbbf1b2cd43dc9d43337e75259f84f762f821b1eb358849b')
 
 prepare() {
   cd "$pkgname-$pkgver"
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+  cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
 }
 
 build() {
@@ -30,6 +30,7 @@ check() {
 }
 
 package() {
+  depends+=(libgit2.so)
   cd "$pkgname-$pkgver"
   install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
   install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/committed/-/commit/476b7a6f8af9d141191f9b68f72968d139005953

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


Reply via email to