Package Details: libhydrogen-git r382.bbca575-1

Git Clone URL: https://aur.archlinux.org/libhydrogen-git.git (read-only, click to copy)
Package Base: libhydrogen-git
Description: A lightweight, secure, easy-to-use crypto library suitable for constrained environments.
Upstream URL: https://github.com/jedisct1/libhydrogen
Licenses: custom:ISC
Provides: libhydrogen
Submitter: likle
Maintainer: likle
Last Packager: likle
Votes: 0
Popularity: 0.000000
First Submitted: 2022-09-11 12:05 (UTC)
Last Updated: 2025-06-04 15:56 (UTC)

Dependencies (2)

Required by (1)

Sources (1)

Latest Comments

likle commented on 2025-06-04 16:03 (UTC)

I updated the package, hope that works out. Let me know if you still have issues

marek22k commented on 2025-06-04 16:01 (UTC) (edited on 2025-06-04 16:03 (UTC) by marek22k)

Version r382.bbca575-1 also works. Thanks for the fast update!

marek22k commented on 2025-06-04 15:57 (UTC) (edited on 2025-06-04 16:00 (UTC) by marek22k)

Works with the following PKGBUILD:

_pkgname=libhydrogen
pkgname=libhydrogen-git
pkgver=bbca575
pkgrel=1
pkgdesc="lightweight, secure, easy-to-use crypto library suitable for constrained environments"
arch=('x86_64')
url="https://libhydrogen.org/"
license=('ISC')
makedepends=('git')
source=('git+https://github.com/jedisct1/libhydrogen.git')
md5sums=('SKIP')


pkgver() {
  cd "$_pkgname"
  git describe --long --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "$_pkgname"

  make
}

check() {
  cd "$_pkgname"

  make test
}

package() {
  cd "$_pkgname"

  make PREFIX="$pkgdir/usr/" install
}

marek22k commented on 2025-06-04 15:44 (UTC) (edited on 2025-06-04 15:44 (UTC) by marek22k)

Mhh, I cannot build it:

$ makepkg -sif
==> Making package: libhydrogen-git r338.14441a6-2 (Mi 04 Jun 2025 15:44:15 UTC)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning libhydrogen git repo...
Cloning into bare repository '/home/marek/Downloads/libhydrogen-git/libhydrogen'...
remote: Enumerating objects: 1934, done.
remote: Counting objects: 100% (420/420), done.
remote: Compressing objects: 100% (151/151), done.
remote: Total 1934 (delta 299), reused 334 (delta 248), pack-reused 1514 (from 1)
Receiving objects: 100% (1934/1934), 421.83 KiB | 3.49 MiB/s, done.
Resolving deltas: 100% (1283/1283), done.
==> Validating source files with md5sums...
    libhydrogen ... Skipped
==> Extracting sources...
  -> Creating working copy of libhydrogen git repo...
Cloning into 'libhydrogen'...
done.
==> Starting pkgver()...
==> Updated version: libhydrogen-git r382.bbca575-1
==> Starting build()...
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...