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

Antonio Rojas arojas at archlinux.org
Mon Mar 13 11:36:41 UTC 2017


    Date: Monday, March 13, 2017 @ 11:36:40
  Author: arojas
Revision: 216078

Update to 2.5.11

Modified:
  gif2png/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-13 11:35:35 UTC (rev 216077)
+++ PKGBUILD	2017-03-13 11:36:40 UTC (rev 216078)
@@ -4,7 +4,7 @@
 # Contributor: Andrew Rose <ody at netrux.com>
 
 pkgname=gif2png
-pkgver=2.5.9
+pkgver=2.5.11
 pkgrel=1
 pkgdesc="A GIF to PNG image format converter"
 arch=('i686' 'x86_64')
@@ -12,8 +12,9 @@
 license=('ZLIB')
 depends=('libpng')
 optdepends=('python2: for using web2png')
-source=("http://www.catb.org/~esr/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-md5sums=('fff45072725c13927ceb5f498e8d4d17')
+source=("http://www.catb.org/~esr/${pkgname}/${pkgname}-${pkgver}.tar.gz" "http://www.catb.org/~esr/gif2png/COPYING")
+md5sums=('dd8180a5ff5222717979d28279e46bd5'
+         'f1a6294068953ac973448184457415dd')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
@@ -20,8 +21,8 @@
 
   sed -i 's#env python#env python2#' web2png
 
-  ./configure --prefix=/usr \
-              --mandir=/usr/share/man
+#  ./configure --prefix=/usr \
+#              --mandir=/usr/share/man
   make
 }
 
@@ -28,6 +29,6 @@
 package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
 
-  make DESTDIR="${pkgdir}" install
-  install -D -m644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
+  make install prefix="$pkgdir"/usr
+  install -D -m644 "$srcdir"/COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
 }


More information about the arch-commits mailing list