Package Details: openrdap-client 0.9.1-1

Git Clone URL: https://aur.archlinux.org/openrdap-client.git (read-only, click to copy)
Package Base: openrdap-client
Description: OpenRDAP is an command line RDAP client implementation in Go.
Upstream URL: https://www.openrdap.org/
Licenses: MIT
Submitter: gcmalloc
Maintainer: gcmalloc
Last Packager: gcmalloc
Votes: 0
Popularity: 0.000000
First Submitted: 2018-12-06 13:17 (UTC)
Last Updated: 2024-04-09 09:46 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

Brocellous commented on 2024-04-21 22:28 (UTC)

install -Dm756 cmd/rdap/rdap "$pkgdir/usr/bin/${pkgname}"

756?? Surely you want 755...

gcmalloc commented on 2024-04-09 09:47 (UTC)

After much delay, this should be fixed and the package was also updated.

sebastiancarlos commented on 2023-09-27 08:38 (UTC)

This updated version of the PKGBUILD worked for me:

pkgname=openrdap-client
pkgver=0.9.1
pkgrel=1
pkgdesc="OpenRDAP is an command line RDAP client implementation in Go."
url="https://www.openrdap.org/"
arch=("x86_64")
license=("MIT")
makedepends=("go")
source=("$pkgname-$pkgver.tar.gz"::"https://github.com/openrdap/rdap/archive/v$pkgver.tar.gz")
sha256sums=("06a330a9e7d87d89274a0bcedc5852b9f6a4df81baec438fdb6156f49068996d")

prepare() {
    export GOPATH="${srcdir}"
    export PATH="$PATH:$GOPATH/bin"
    mkdir -p ${srcdir}/github.com/openrdap/
    mv "rdap-${pkgver}" ${srcdir}/github.com/openrdap/${pkgname}
        mkdir -p ${srcdir}/build
}


build() {
    cd ${srcdir}/github.com/openrdap/"${pkgname}"
    go build -o ${srcdir}/build ./cmd/...
}


package() {
    install -Dm755 build/rdap "$pkgdir/usr/bin/rdap"
    cd github.com/openrdap/"${pkgname}"
    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

s3lph commented on 2022-07-25 13:16 (UTC)

Newer go version (go version go1.18.3 linux/amd64), new error:

go: go.mod file not found in current directory or any parent directory.
    'go get' is no longer supported outside a module.
    To build and install a command, use 'go install' with a version,
    like 'go install example.com/cmd@latest'
    For more information, see https://golang.org/doc/go-get-install-deprecation
    or run 'go help get' or 'go help install'.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: openrdap-client

chovy commented on 2021-12-06 10:24 (UTC) (edited on 2021-12-06 10:24 (UTC) by chovy)

go: cannot find main module, but found .git/config in /home/user/.cache/yay/openrdap-client
        to create a module there, run:
        cd ../../../../.. && go mod init
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: openrdap-client

chovy commented on 2021-12-06 10:23 (UTC)

seems outdated. any update?

firoz commented on 2021-04-10 11:40 (UTC)

go: cannot find main module, but found .git/config in ~/openrdap-client to create a module there, run: cd ../../../../.. && go mod init