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

Alexander Rødseth arodseth at archlinux.org
Fri Mar 19 11:49:50 UTC 2021


    Date: Friday, March 19, 2021 @ 11:49:50
  Author: arodseth
Revision: 894561

upgpkg: xcftools 1.0.7-7

Modified:
  xcftools/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-19 11:46:22 UTC (rev 894560)
+++ PKGBUILD	2021-03-19 11:49:50 UTC (rev 894561)
@@ -4,7 +4,7 @@
 
 pkgname=xcftools
 pkgver=1.0.7
-pkgrel=6
+pkgrel=7
 pkgdesc='Command line tools for use with the open XCF image format (includes xcf2png)'
 # no https available
 url='http://henning.makholm.net/software'
@@ -12,24 +12,26 @@
 license=(custom)
 depends=(libpng perl)
 source=("http://henning.makholm.net/xcftools/xcftools-$pkgver.tar.gz"
-        xcftools.patch)
+        xcftools.patch
+        fs70042.patch::https://github.com/j-jorge/xcftools/commit/59c38e3e45b9112c2bcb4392bccf56e297854f8a.patch)
 sha256sums=('1ebf6d8405348600bc551712d9e4f7c33cc83e416804709f68d0700afde920a6'
-            'fc70dbef790bc708b1609c4393a08e565f0617e697c735078e3368048dd33a4d')
+            'fc70dbef790bc708b1609c4393a08e565f0617e697c735078e3368048dd33a4d'
+            'c3c6c3af9f4e47c0fc887543e6fae3e7c572bc4d4f627f40a02cbd8620dca3ae')
 
 prepare() {
   grep -A16 License "$pkgname-$pkgver/README" > LICENSE
+  cd $pkgname-$pkgver
+  patch -i "$srcdir/xcftools.patch"
+  patch -i "$srcdir/fs70042.patch"
 }
 
 build() {
-  cd "$pkgname-$pkgver"
-  patch -i ../xcftools.patch
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr
   make
 }
 
 package() {
-  make DESTDIR="$pkgdir" -C "$pkgname-$pkgver" install
+  make DESTDIR="$pkgdir" -C $pkgname-$pkgver install
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
-
-# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list