Package Details: imgcat 1.2.0-2

Git Clone URL: https://aur.archlinux.org/imgcat.git (read-only, click to copy)
Package Base: imgcat
Description: Output images as RGB ANSI graphics on the terminal
Upstream URL: https://github.com/trashhalo/imgcat
Keywords: image terminal
Licenses: MIT
Submitter: orhun
Maintainer: orhun
Last Packager: orhun
Votes: 3
Popularity: 0.000000
First Submitted: 2020-10-25 17:10 (UTC)
Last Updated: 2020-11-25 15:49 (UTC)

Dependencies (1)

Required by (1)

Sources (1)

Latest Comments

orhun commented on 2020-11-13 13:50 (UTC) (edited on 2020-11-13 13:50 (UTC) by orhun)

@muesli it looks like the location of the main file is changed. It's fixed in -2

EDIT: indeed.

muesli commented on 2020-11-13 13:37 (UTC)

Ok, I see: you need to actually build the ./cmd/imgcat package inside the source tarball:

  go build \
    -gcflags "all=-trimpath=$PWD" \
    -asmflags "all=-trimpath=$PWD" \
    -ldflags "-extldflags $LDFLAGS" \
    -o "$pkgname" ./cmd/imgcat

muesli commented on 2020-11-13 13:30 (UTC)

This seems to produce a corrupt binary:

strip: ./usr/bin/imgcat(__.PKGDEF): Unable to recognise the format of file: file format not recognized strip: ./usr/bin/imgcat(go.o): Unable to recognise the format of file: file format not recognized