Package Details: addinclude 1.0.1-4

Git Clone URL: https://aur.archlinux.org/addinclude.git (read-only, click to copy)
Package Base: addinclude
Description: Add include statements to header and sourcefiles, for C and C++
Upstream URL: https://addinclude.roboticoverlords.org/
Keywords: utility
Licenses: GPL2
Submitter: xyproto
Maintainer: kendfinger
Last Packager: kendfinger
Votes: 2
Popularity: 0.000002
First Submitted: 2019-03-27 09:18
Last Updated: 2020-02-11 08:08

Latest Comments

loki7990 commented on 2021-03-16 14:42

I had trouble installing this, so I modified the PKGBUILD a bit. I changed the source to the github repo and removed some unnecessary variables. Hopefully this will help others.

# Maintainer: Kenneth Endfinger <kaendfinger@gmail.com>

pkgname=addinclude
pkgver=1.0.1
pkgrel=4
pkgdesc='Add include statements to header and sourcefiles, for C and C++'
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
url='https://addinclude.roboticoverlords.org/'
license=('GPL2')
makedepends=('go')
source=("https://github.com/xyproto/${pkgname}/archive/1.0.1.tar.gz")
validpgpkeys=('962855F072C7A01846405864FCF3C8CB5CF9C8D4')
sha512sums=('7e50462d615b4a1d7dce154aeb079f91739e4c9bcd7b49ba664e536a8c9e0ef73a0d5da436eda27380a6931ec11bcabd7d4aa991bff918c5ffcc306a374e4c8d')

build() {
  cd "${pkgname}-${pkgver}"

  go build -gcflags "all=-trimpath=${PWD}" -asmflags "all=-trimpath=${PWD}" -ldflags "-extldflags ${LDFLAGS}"
}

package() {
  cd "${pkgname}-${pkgver}"

  install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
  install -Dm644 "${pkgname}.1" "${pkgdir}/usr/share/man/man1/${pkgname}.1"
}

# vim: ts=2 sw=2 et:

xyproto commented on 2020-01-16 08:46

@phansel While it's not recommended, you can also build with makepkg --skippgpcheck.

phansel commented on 2020-01-15 16:54

@xyproto: I'm getting the same error with makepkg despite pacman-key confirming your key is registered. I'll try a few other things.

xyproto commented on 2020-01-15 14:39

The package builds and installs just fine here. Tested with makepkg and then pacman -U.

xyproto commented on 2020-01-15 14:38

@phansel, The signature should already be available, try: pacman-key --list-sigs | grep FCF3C8CB5CF9C8D4

If that does not work, please see if any of if information on https://wiki.archlinux.org/index.php/Pacman/Package_signing might help.

phansel commented on 2020-01-14 23:13

This package's signature isn't recognized:

==> Verifying source file signatures with gpg... addinclude-1.0.1.tar.xz ... FAILED (unknown public key FCF3C8CB5CF9C8D4) ==> ERROR: One or more PGP signatures could not be verified! Error downloading sources: addinclude

Pablo-Camara commented on 2020-01-09 00:42

Failed to build addinclude

any clue?