@MarsSeed Okay, I did just that!
![]() |
VOOZH | about |
| Git Clone URL: | https://aur.archlinux.org/libyang-git.git (read-only, click to copy) |
|---|---|
| Package Base: | libyang-git |
| Description: | libyang is YANG data modelling language parser and toolkit written (and providing API) in C |
| Upstream URL: | https://github.com/CESNET/libyang/ |
| Licenses: | BSD, ISC |
| Conflicts: | libyang, libyang-git |
| Provides: | libyang |
| Submitter: | syyyr |
| Maintainer: | syyyr |
| Last Packager: | syyyr |
| Votes: | 1 |
| Popularity: | 0.000000 |
| First Submitted: | 2023-09-25 17:46 (UTC) |
| Last Updated: | 2024-12-20 14:12 (UTC) |
@MarsSeed Okay, I did just that!
libyang-devel-git should be renamed and resubmitted as libyang-git.
As upstream uses the master branch only to host the latest stable release, and their development branch is called 'devel'.
So there is no point to have a separate git package for the master branch, and there isn't one on AUR.
'-git' packages by definition are devel packages, using upstream's default branch where main development happens, irrespective of the actual name of that branch.
I have reworked the PKGBUILD here: https://github.com/syyyr/libyang-aur
Has this PKGBUILD ever worked? Seems like its trying to misuse cmake pretty badly:
[2021-01-14T21:14:15.362Z] ==> Starting build()...
[2021-01-14T21:14:15.362Z] CMake Error at CMakeLists.txt:5 (message):
[2021-01-14T21:14:15.362Z] In-source build is not allowed. Please make a standalone build directory
[2021-01-14T21:14:15.362Z] and run CMake from there. You may need to remove CMakeCache.txt.
[2021-01-14T21:14:15.362Z]
[2021-01-14T21:14:15.362Z]
[2021-01-14T21:14:15.362Z] -- Configuring incomplete, errors occurred!
[2021-01-14T21:14:15.362Z] ==> ERROR: A failure occurred in build().
[2021-01-14T21:14:15.362Z] Aborting...
script returned exit code 255