[arch-commits] Commit in gif2png/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 15:38:30 UTC 2020


    Date: Tuesday, July 7, 2020 @ 15:38:29
  Author: felixonmars
Revision: 658965

archrelease: copy trunk to community-staging-x86_64

Added:
  gif2png/repos/community-staging-x86_64/
  gif2png/repos/community-staging-x86_64/PKGBUILD
    (from rev 658964, gif2png/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: gif2png/repos/community-staging-x86_64/PKGBUILD (from rev 658964, gif2png/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 15:38:29 UTC (rev 658965)
@@ -0,0 +1,35 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: eric <eric at archlinux.org>
+# Contributor: Andrew Rose <ody at netrux.com>
+
+pkgname=gif2png
+pkgver=2.5.14
+pkgrel=2
+pkgdesc="A GIF to PNG image format converter"
+arch=('x86_64')
+url="http://www.catb.org/~esr/gif2png/"
+license=('ZLIB')
+depends=('libpng')
+optdepends=('python2: for using web2png')
+source=(http://www.catb.org/~esr/$pkgname/$pkgname-$pkgver.tar.gz
+        http://www.catb.org/~esr/gif2png/COPYING)
+sha256sums=('f7584dc0d15b8186182e47dcf6190924a3ba6d669acfce33be8512a79ae6fe20'
+            'c92396cd96373bf1bdaa08e028214479216be7278fe7732b59cd1df1632fe335')
+
+build() {
+  cd "${srcdir}"/${pkgname}-${pkgver}
+
+  sed -i 's#env python#env python2#' web2png
+
+#  ./configure --prefix=/usr \
+#              --mandir=/usr/share/man
+  make
+}
+
+package() {
+  cd "${srcdir}"/${pkgname}-${pkgver}
+
+  make install prefix="${pkgdir}"/usr
+  install -Dm644 "${srcdir}"/COPYING "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list