Package Details: ivy-calc 0.3.4-1

Git Clone URL: (read-only, click to copy)
Package Base: ivy-calc
Description: An APL-like calculator.
Upstream URL:
Keywords: ivy-calc ivy-lang ivyc ivycalc ivylang
Licenses: BSD
Conflicts: ivy-git, ivyc
Provides: ivyc
Submitter: howeyc
Maintainer: howeyc
Last Packager: howeyc
Votes: 1
Popularity: 0.000005
First Submitted: 2022-06-20 23:16 (UTC)
Last Updated: 2024-01-18 23:10 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

MarsSeed commented on 2022-06-22 17:35 (UTC)


I have created the companion VCS package: ivy-calc-git. :)

I've noticed that some small adjustments can be added to the PKGBUILD of this stable package, to make it more optimal and conformant with Arch recommendations.

When commenting out a line with a beginning ##, I intend to suggest the deletion of that existing line.

depends=('glibc')                      # link-level dependency, reported by namcap / ldd
provides=("${_binname}=${pkgver}")     # versioned provides
           'ivy-git<1'                 # former AUR VCS package (never reached pkgver>=1, used format: r{REVISION}.g*)
## replaces=('ivy-git')                #!! please remove this, now the ivy-calc-git package has the replaces line

## sha256sums=('36344aa566bcf59ee0733cb79f55261d1cb7c84c5534815a2e9177fcf06fa3d3') #!! recommend to replace with b2sums; recommended by Arch


build() {
    cd "$srcdir/${_srcname}-${pkgver}"
    export CGO_CFLAGS="${CFLAGS}"
##  export CGO_LDFLAGS="${LDFLAGS}" #!! remove this, seems it gets ignored

    # LDFLAGS needs to be added specifically to go linker's '-extldflags', otherwise it's ignored
    go build \
        -o "${_binname}" \
        -trimpath \
        -buildmode='pie' \
        -mod='readonly' \
        -modcacherw \
        -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \