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

Daniel Bermond dbermond at gemini.archlinux.org
Sun Jul 18 15:58:47 UTC 2021


    Date: Sunday, July 18, 2021 @ 15:58:47
  Author: dbermond
Revision: 978509

upgpkg: gifsicle 1.93-1

Modified:
  gifsicle/trunk/PKGBUILD

----------+
 PKGBUILD |   34 ++++++++++++++++++++--------------
 1 file changed, 20 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-18 15:54:24 UTC (rev 978508)
+++ PKGBUILD	2021-07-18 15:58:47 UTC (rev 978509)
@@ -1,23 +1,29 @@
-# Maintainer: Eric Bélanger <eric at archlinux.org>
+# Maintainer : Daniel Bermond <dbermond at archlinux.org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
 
 pkgname=gifsicle
-pkgver=1.92
-pkgrel=2
-pkgdesc="A powerful command-line program for creating, editing, manipulating and getting information about GIF images and animations"
+pkgver=1.93
+pkgrel=1
+pkgdesc='Command-line tool for creating, editing, and getting information about GIF images and animations'
 arch=('x86_64')
-url="https://www.lcdf.org/gifsicle/"
-license=('GPL')
-depends=('libx11')
-source=(https://www.lcdf.org/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-sha1sums=('c2dfca098ce67f22bca5e555cda9b54e8b95c816')
+url='https://www.lcdf.org/gifsicle/'
+license=('GPL2')
+optdepends=('libx11: for gifview tool')
+makedepends=('libx11')
+source=("https://www.lcdf.org/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('92f67079732bf4c1da087e6ae0905205846e5ac777ba5caa66d12a73aa943447')
 
 build() {
-  cd ${pkgname}-${pkgver}
-  ./configure --prefix=/usr
-  make
+    cd "${pkgname}-${pkgver}"
+    ./configure --prefix='/usr'
+    make
 }
 
+check() {
+    cd "${pkgname}-${pkgver}"
+    test/testie -p src test
+}
+
 package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
+    make -C "${pkgname}-${pkgver}" DESTDIR="$pkgdir" install
 }




More information about the arch-commits mailing list