Package Details: blesh-git 0.4.0_devel4.r2113.70a325f9-1

Git Clone URL: https://aur.archlinux.org/blesh-git.git (read-only, click to copy)
Package Base: blesh-git
Description: Bash Line Editor (ble.sh) -- a replacement for Bash's line editor with enhanced features
Upstream URL: https://github.com/akinomyoga/ble.sh
Licenses: BSD-3-Clause
Conflicts: blesh
Provides: blesh
Submitter: akinomyoga
Maintainer: akinomyoga
Last Packager: akinomyoga
Votes: 10
Popularity: 0.38
First Submitted: 2022-01-23 12:23 (UTC)
Last Updated: 2024-04-27 15:26 (UTC)

Dependencies (4)

Required by (0)

Sources (3)

Latest Comments

1 2 3 Next › Last »

akinomyoga commented on 2024-08-23 23:54 (UTC)

@Jai-JAP Thank you for the report! I fixed it in [1].

Jai-JAP commented on 2024-08-23 19:10 (UTC) (edited on 2024-08-23 19:10 (UTC) by Jai-JAP)

This package fails to build after commit 40fe9c9 with the error

make: *** No rule to make target '/home/<user>/.cache/paru/clone/blesh-git/pkg/blesh-git/usr/share/licenses/blesh/LICENSE.md', needed by 'install'.  Stop.

akinomyoga commented on 2024-04-27 15:26 (UTC) (edited on 2024-04-27 15:27 (UTC) by akinomyoga)

@qubeck: Thanks. I've updated it. They previously instructed us to use license=('BSD'). They seem to have changed the policy [1-3].

qubeck commented on 2024-04-27 13:03 (UTC) (edited on 2024-04-27 13:09 (UTC) by qubeck)

Since BSD is not a valid SPDX license identifier, can you change it to 'BSD-3-Clause'? Thanks :)

akinomyoga commented on 2023-08-17 14:59 (UTC)

Thank you for the clarification. I'll keep the current minimal set of dependency specifications. Since package maintainers of several other distributions seem to reference PKGBUILD of AUR, maybe I'll later add comments about the additional dependencies omitted for Arch Linux.

Finally, thank you for all your help. It was very helpful in improving the package configuration.

willemw commented on 2023-08-17 11:14 (UTC)

Yes, "should" was a bit too strong from me (it is just my personal preference to have minimal dependency lists). The only mandatory dependency discussed here is git. Listing the rest is up to you.

akinomyoga commented on 2023-08-16 21:31 (UTC) (edited on 2023-08-16 21:32 (UTC) by akinomyoga)

If git is a runtime dependency as well, then you only need depends=(git) and no makedepends.

Thank you for your reply. Then, the last version I pushed before your reply is already in that form.

I've also already modified the upstream GNUmakefile to expose a make variable INSDIR_LICENSE and modified PKGBUILD of blesh-git to specify that variable.


I've already removed all the dependencies except for git, but I now found the following description in PKGUBILD 4.1 depends (Arch Wiki):

In some cases this is not necessary and may or may not be listed, for example glibc cannot be uninstalled as every system needs some C library

glibc is a part of the base package group. The description appears to mean that a dependency that is already in base or base-devel doesn't need to be specified to depends yet it's not mandatory to remove them from depends.

willemw commented on 2023-08-16 19:06 (UTC) (edited on 2023-08-16 19:46 (UTC) by willemw)

If git is a runtime dependency as well, then you only need depends=(git) and no makedepends.

Just noticed: you are also the upstream developer. :-)

You could change GNUmakefile to accommodate for Arch Linux, however, normally and just as easily can this be solved in the PKGBUILD file: modify GNUmakefile in prepare() using sed or move the license file at the end of package().

And adding a license file is just a guideline.

akinomyoga commented on 2023-08-16 13:35 (UTC)

Thanks.

You only need makedepends=(git). No depends.

Do I need to write it that way even when git is a runtime dependency of ble-0.4?

Do something like:

install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

in package() instead of changing GNUmakefile. See https://wiki.archlinux.org/title/PKGBUILD#license

In that way, LICENCE.md would be duplicated in both /usr/share/doc/blesh and in /usr/share/licenses/blesh. Anyway, I'd like to edit GNUmakefile so that the install location of the license file can be externally specified through a make variable (the default location will not be changed). Or is there a reason that I should not edit GNUmakefile?

Also, I'm not sure if I'll update it soon, but blesh (ble-0.3.4) is relying on the tarball distributed on the GitHub release page, which doesn't include any license file, so anyway GNUmakefile of ble-0.3 needs to be updated to include a license file in the tarball.

willemw commented on 2023-08-16 10:17 (UTC)

See the pre-installed "Dependencies" of https://archlinux.org/packages/core/any/base/ and https://archlinux.org/packages/core/any/base-devel/

You only need makedepends=(git). No depends.

Do something like:

install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

in package() instead of changing GNUmakefile. See https://wiki.archlinux.org/title/PKGBUILD#license