Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#66402 - [i2pd] typo in PKGBUILD

Attached to Project: Community Packages
Opened by DarcyHu (DarcyHu) - Saturday, 25 April 2020, 07:57 GMT
Last edited by Daniel Bermond (Bermond) - Tuesday, 05 May 2020, 21:37 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Daniel Bermond (Bermond)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/i2pd
```
cmake \
-B "${pkgname}-${pkgver}/build" \
-S "${pkgname}-${pkgver}/build" \
```
According to https://wiki.archlinux.org/index.php/CMake_package_guidelines, I think you mean
```
cmake \
-B "${pkgname}-${pkgver}/build" \
-S "${pkgname}-${pkgver}" \
```
This task depends upon

Closed by  Daniel Bermond (Bermond)
Tuesday, 05 May 2020, 21:37 GMT
Reason for closing:  Not a bug
Comment by Daniel Bermond (Bermond) - Saturday, 25 April 2020, 21:25 GMT
The -S option is pointing to the location of the main 'CMakeLists.txt' file, as described in the Wiki article. Upstream ships this file on the 'build' directory and sets CMAKE_SOURCE_DIR to the parent directory ('..'). Upstream instructions tells to use this same 'build' directory for building (-B option).

So, it looks like to be correct for me.
Comment by DarcyHu (DarcyHu) - Sunday, 26 April 2020, 03:56 GMT
Thank you for correcting me. I'm trying to create a package using i2pd's PKGBUILD as a template.
Comment by Daniel Bermond (Bermond) - Tuesday, 05 May 2020, 21:36 GMT
No problem, thanks for keeping an eye on the package. Closing.

Loading...