[arch-commits] Commit in gif2png/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Mon Apr 5 11:38:41 UTC 2021
Date: Monday, April 5, 2021 @ 11:38:41
Author: jlichtblau
Revision: 911843
archrelease: copy trunk to community-x86_64
Added:
gif2png/repos/community-x86_64/PKGBUILD
(from rev 911842, gif2png/trunk/PKGBUILD)
Deleted:
gif2png/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 113 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-05 11:38:32 UTC (rev 911842)
+++ PKGBUILD 2021-04-05 11:38:41 UTC (rev 911843)
@@ -1,56 +0,0 @@
-# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
-# Contributor: Morten Linderud <foxboron 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=3.0.0
-pkgrel=1
-pkgdesc="A GIF to PNG image format converter"
-arch=('x86_64')
-url="http://www.catb.org/~esr/gif2png/"
-license=('ZLIB')
-depends=('libpng')
-makedepends=('go' 'git')
-optdepends=('python2: for using web2png')
-# https://github.com/golang/crypto/tree/release-branch.go1.15
-_crypto_commit=75b288015ac94e66e3d6715fb68a9b41bf046ec2
-# https://github.com/golang/sys/tree/release-branch.go1.15
-_sys_commit=bc7a7d42d5c30f4d0fe808715c002826ce2c624e
-source=(http://www.catb.org/~esr/$pkgname/$pkgname-$pkgver.tar.gz
- http://www.catb.org/~esr/gif2png/COPYING
- git+https://github.com/golang/crypto#commit=$_crypto_commit
- git+https://github.com/golang/sys#commit=$_sys_commit)
-sha256sums=('98e185fa62d8d5b355a8b3980db0025b2fbdea991bd9f78547a1e0bc08b81d3a'
- 'c92396cd96373bf1bdaa08e028214479216be7278fe7732b59cd1df1632fe335'
- 'SKIP'
- 'SKIP')
-
-prepare() {
- mkdir -p src/golang.org/x build
- cp -r sys crypto src/golang.org/x/
- mkdir -p src/gitlab.com/esr
- ln -rTsf "$pkgname-$pkgver" "src/gitlab.com/esr/${pkgname}"
- cd "src/gitlab.com/esr/${pkgname}"
- sed -i 's#env python#env python2#' web2png
- sed -i 's#GOFLAGS=.*##' Makefile
- sed -i 's#$(GOFLAGS)##' Makefile
-}
-
-build() {
- cd "src/gitlab.com/esr/${pkgname}"
- export GOPATH="$srcdir"
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -gcflags=-N -gcflags=-l"
- make
-}
-
-package() {
- cd "src/gitlab.com/esr/${pkgname}"
- make install prefix="${pkgdir}"/usr
- install -Dm644 "${srcdir}"/COPYING "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: gif2png/repos/community-x86_64/PKGBUILD (from rev 911842, gif2png/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-04-05 11:38:41 UTC (rev 911843)
@@ -0,0 +1,57 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Morten Linderud <foxboron 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=3.0.0
+pkgrel=2
+pkgdesc="A GIF to PNG image format converter"
+arch=('x86_64')
+url="http://www.catb.org/~esr/gif2png/"
+license=('ZLIB')
+depends=('libpng')
+makedepends=('go' 'git')
+optdepends=('python2: for using web2png')
+# https://github.com/golang/crypto/tree/release-branch.go1.15
+_crypto_commit=75b288015ac94e66e3d6715fb68a9b41bf046ec2
+# https://github.com/golang/sys/tree/release-branch.go1.15
+_sys_commit=bc7a7d42d5c30f4d0fe808715c002826ce2c624e
+source=(http://www.catb.org/~esr/$pkgname/$pkgname-$pkgver.tar.gz
+ http://www.catb.org/~esr/gif2png/COPYING
+ git+https://github.com/golang/crypto#commit=$_crypto_commit
+ git+https://github.com/golang/sys#commit=$_sys_commit)
+sha256sums=('98e185fa62d8d5b355a8b3980db0025b2fbdea991bd9f78547a1e0bc08b81d3a'
+ 'c92396cd96373bf1bdaa08e028214479216be7278fe7732b59cd1df1632fe335'
+ 'SKIP'
+ 'SKIP')
+
+prepare() {
+ mkdir -p src/golang.org/x build
+ cp -r sys crypto src/golang.org/x/
+ mkdir -p src/gitlab.com/esr
+ ln -rTsf "$pkgname-$pkgver" "src/gitlab.com/esr/${pkgname}"
+ cd "src/gitlab.com/esr/${pkgname}"
+ sed -i 's#env python#env python2#' web2png
+ sed -i 's#GOFLAGS=.*##' Makefile
+ sed -i 's#$(GOFLAGS)##' Makefile
+}
+
+build() {
+ cd "src/gitlab.com/esr/${pkgname}"
+ export GO111MODULE=off #https://archlinux.org/todo/go-116-rebuild/
+ export GOPATH="$srcdir"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -gcflags=-N -gcflags=-l"
+ make
+}
+
+package() {
+ cd "src/gitlab.com/esr/${pkgname}"
+ make install prefix="${pkgdir}"/usr
+ install -Dm644 "${srcdir}"/COPYING "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list