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


Commits:
1998b487 by Caleb Maclennan at 2024-05-03T11:54:53+03:00
upgpkg: 1.0.20-3: Add missing dependency

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = committed
        pkgdesc = Nitpicking your commit history
        pkgver = 1.0.20
-       pkgrel = 2
+       pkgrel = 3
        url = https://github.com/crate-ci/committed
        arch = x86_64
        license = Apache-2.0
@@ -10,11 +10,14 @@ pkgbase = committed
        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
+       depends = zlib
+       source = 
https://github.com/crate-ci/committed/archive/v1.0.20/committed-1.0.20.tar.gz
        sha256sums = 
bb89632260499ae9dbbf1b2cd43dc9d43337e75259f84f762f821b1eb358849b
 
 pkgname = committed
        depends = gcc-libs
        depends = glibc
        depends = libgit2
+       depends = zlib
        depends = libgit2.so
+       depends = libz.so


=====================================
PKGBUILD
=====================================
@@ -3,14 +3,14 @@
 
 pkgname=committed
 pkgver=1.0.20
-pkgrel=2
+pkgrel=3
 pkgdesc="Nitpicking your commit history"
 arch=('x86_64')
 url="https://github.com/crate-ci/committed";
 license=('Apache-2.0' 'MIT')
-depends=('gcc-libs' 'glibc' 'libgit2')
+depends=('gcc-libs' 'glibc' 'libgit2' 'zlib')
 makedepends=('cargo')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
 sha256sums=('bb89632260499ae9dbbf1b2cd43dc9d43337e75259f84f762f821b1eb358849b')
 
 prepare() {
@@ -20,7 +20,7 @@ prepare() {
 
 build() {
   cd "$pkgname-$pkgver"
-  CFLAGS+=" -ffat-lto-objects"
+  CFLAGS+=' -ffat-lto-objects'
   cargo build --release --frozen
 }
 
@@ -30,7 +30,8 @@ check() {
 }
 
 package() {
-  depends+=(libgit2.so)
+  depends+=(libgit2.so
+            libz.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/1998b487a736140affd6298bb8c2352c38c41231

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


Reply via email to