Date: Thursday, December 8, 2022 @ 19:27:44
  Author: orhun
Revision: 1357206

archrelease: copy trunk to community-x86_64

Added:
  gifski/repos/community-x86_64/PKGBUILD
    (from rev 1357205, gifski/trunk/PKGBUILD)
Deleted:
  gifski/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   89 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 46 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-08 19:27:32 UTC (rev 1357205)
+++ PKGBUILD    2022-12-08 19:27:44 UTC (rev 1357206)
@@ -1,43 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <[email protected]>
-# Maintainer: Orhun Parmaksız <[email protected]>
-# Contributor: Philipp Wolfer <[email protected]>
-
-pkgname=gifski
-pkgver=1.8.0
-pkgrel=1
-pkgdesc='GIF encoder based on libimagequant (pngquant). Squeezes maximum 
possible quality from the awful GIF format.'
-arch=('x86_64')
-url='https://gif.ski'
-license=('AGPL3')
-depends=('ffmpeg4.4')
-makedepends=('cargo' 'clang')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/ImageOptim/$pkgname/archive/$pkgver.tar.gz";)
-sha512sums=('46776e39c1e12cff7327a5341dceca47bac992753e0ac9bf8a768c4fa133341e66e60f4739a9b2b0c30b444e2b18f7e74dff15fed378e1900e3820bf252003af')
-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 --frozen --release --features=video
-}
-
-check() {
-  cd $pkgname-$pkgver
-
-  cargo test --frozen
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  install -Dm 755 target/release/gifski "$pkgdir"/usr/bin/gifski
-  install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
-}

Copied: gifski/repos/community-x86_64/PKGBUILD (from rev 1357205, 
gifski/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-12-08 19:27:44 UTC (rev 1357206)
@@ -0,0 +1,46 @@
+# Maintainer: Filipe Laíns (FFY00) <[email protected]>
+# Maintainer: Orhun Parmaksız <[email protected]>
+# Contributor: Philipp Wolfer <[email protected]>
+
+pkgname=gifski
+pkgver=1.8.1
+pkgrel=1
+pkgdesc='GIF encoder based on libimagequant (pngquant). Squeezes maximum 
possible quality from the awful GIF format.'
+arch=('x86_64')
+url='https://gif.ski'
+license=('AGPL3')
+depends=('ffmpeg4.4')
+makedepends=('cargo' 'clang')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ImageOptim/$pkgname/archive/$pkgver.tar.gz";
+        
"$pkgname-$pkgver-cargo-lock.patch::https://github.com/ImageOptim/gifski/commit/88581c5384f8910b813b41d96f226c155d537ef5.patch";)
+sha512sums=('ac04db56c8a46f98c25599749b2d05eaf9c8549916a39c33062d34808cffe6cecde1b4e61d05ec646a87d962141fb1bd89189a98c5b60831c2c8780a1f118b66'
+            
'8653f80b3a0396e413dc5980d8c7dfed7814e7e7b37cc4c7c282a399a859198fb594854ed02799b0821460e53a026092149e4ce28eba8a465b2359ebb52ea97f')
+options=('!lto')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  patch -Np1 -i "$srcdir/$pkgname-$pkgver-cargo-lock.patch"
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+
+build() {
+  cd $pkgname-$pkgver
+
+  export PKG_CONFIG_PATH='/usr/lib/ffmpeg4.4/pkgconfig'
+  cargo build --frozen --release --features=video
+}
+
+check() {
+  cd $pkgname-$pkgver
+
+  cargo test --frozen
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  install -Dm 755 target/release/gifski "$pkgdir"/usr/bin/gifski
+  install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+}

Reply via email to