[arch-commits] Commit in gifski/trunk (PKGBUILD)

Orhun Parmaksiz orhun at gemini.archlinux.org
Mon Aug 15 14:14:05 UTC 2022


    Date: Monday, August 15, 2022 @ 14:14:04
  Author: orhun
Revision: 1266124

upgpkg: gifski 1.7.1-1: upstream release

Modified:
  gifski/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-15 14:08:00 UTC (rev 1266123)
+++ PKGBUILD	2022-08-15 14:14:04 UTC (rev 1266124)
@@ -3,7 +3,7 @@
 # Contributor: Philipp Wolfer <ph.wolfer at gmail.com>
 
 pkgname=gifski
-pkgver=1.7.0
+pkgver=1.7.1
 pkgrel=1
 pkgdesc='GIF encoder based on libimagequant (pngquant). Squeezes maximum possible quality from the awful GIF format.'
 arch=('x86_64')
@@ -12,20 +12,27 @@
 depends=('ffmpeg4.4')
 makedepends=('cargo' 'clang')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/ImageOptim/$pkgname/archive/$pkgver.tar.gz")
-sha512sums=('67d3dbdd55acc6a550d9e96094574305ff845ea3445041409bed6654150644118f8db236a1577b4868dcb422b4deb748e624a9b0b9e62d2895df45a48e0491f9')
+sha512sums=('291cebe1e5f2e7c95789bbc9820ff501e9aa8bc9ef805b5e58fc234cc44046c8e45abdbdc9b4764e3107bc57159fd3bba11c83d5e6987ac2d18d94981432afc2')
 options=('!lto')
 
+prepare() {
+  cd $pkgname-$pkgver
+
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+
 build() {
   cd $pkgname-$pkgver
 
   export PKG_CONFIG_PATH='/usr/lib/ffmpeg4.4/pkgconfig'
-  cargo build --release --features=video
+  cargo build --frozen --release --features=video
 }
 
 check() {
   cd $pkgname-$pkgver
 
-  cargo test
+  cargo test --frozen
 }
 
 package() {



More information about the arch-commits mailing list