Package Details: flexbv-bin 5.0388-1

Git Clone URL: https://aur.archlinux.org/flexbv-bin.git (read-only, click to copy)
Package Base: flexbv-bin
Description: FlexBV Free Professional Boardview
Upstream URL: https://pldaniels.com/flexbv5/
Licenses: custom:flexbv
Submitter: piernov
Maintainer: greyltc
Last Packager: greyltc
Votes: 1
Popularity: 0.23
First Submitted: 2019-06-26 16:36 (UTC)
Last Updated: 2024-10-21 22:35 (UTC)

Latest Comments

Sokoloft commented on 2024-10-13 23:32 (UTC)

Hi greyltc,

Version bump. As well as per the license. Paul had said what you have is fine.

Thank you.

greyltc commented on 2024-08-22 14:14 (UTC)

re. the license: if you've got contact with the author, you might suggest they include a licence file that lives in the archive with the executable when they distribute it

Sokoloft commented on 2024-08-22 06:30 (UTC)

Great. That works. Some things better than what I had.

A couple other changes you could add:

  • Remove the conflict, that package was deleted.

  • Name should be --name "FlexBV Free" since it is the Free version. For the .desktop

  • Update the upstream URL to be "https://pldaniels.com/flexbv5/".

  • I asked Paul if he had a page for licensing information. Once I know I'll post it here and ideally link it in the license field. Instead of 'custom'.

Here is that script I mentioned. I assume you'll have something to chuck it on, have cron run it. That way the package can be kept as up to date as possible. I'm sure you'll be able to adapt it to automatically push to the AUR.

#!/bin/sh

#NTFY String
ntfy=""

# Get version numbers and assign them
new=$(curl https://pldaniels.com/flexbv5/LATEST_VERSION)
echo "$new"

# Poll the PKGBUILD raw file on the aur
aur=$(curl https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=flexbv-bin | grep 'pkgver=' | cut -d '=' -f 2)
echo "$aur"

# compare
if [ "$new" = "$aur" ]; then
    echo "Version has not changed."
    break;
else
    echo "Version has changed to v$new"
    #ntfy
    curl \
    -H "Title: FlexBV v$new available!" \
    -H ta:loudspeaker \
    -d "$aur to $new. Update the AUR." \
    ntfy.sh/"$ntfy"
fi

# Get the latest SVG
wget -O icon https://pldaniels.com/flexbv5/assets/flexbv-free-icon.svg

# Get the icons checksum
chksum_new=$(sha256sum icon | cut -d ' ' -f 1)

# If there is no prior checksum file, create one and write the current checksum to it.
if [ ! -f chksum.file ]; then
    echo "No prior checksum found. Creating new file."
    echo $chksum_new > chksum.file
fi

# Get cached checksum
chksum_old=$(cat chksum.file | cut -d ' ' -f 1)

# compare svg icon checksums
if [ "$chksum_new" = "$chksum_old" ]; then
    echo "Icon has not changed."
    break;
else
    echo "Icon has changed."
    #ntfy
    curl \
    -H "Title: Icon checksum has changed for FlexBV-free." \
    -H ta:loudspeaker \
    -d "Update the PKGBUILD with the new checksum." \
    ntfy.sh/"$ntfy"
fi

# Delete the SVG
rm icon

exit

Thanks! Glad to finally hear from you. Let me know if there's anything I can do to help.

greyltc commented on 2024-08-22 00:58 (UTC)

Hi Sokoloft, I agree with some of the suggestions you've written below and I've incorporated those, I hope the package works better for you now.

Sokoloft commented on 2024-08-19 05:47 (UTC) (edited on 2024-08-19 06:14 (UTC) by Sokoloft)

Hello. I've tried to contact both piernov and greyltc via email, discord and now here.

I have a fork of this that removes redundant code. Installs the binary in the proper folder. Adds a .desktop entry for flexbv as well as downloads the svg icon. I have a script checking for a version change so I can keep the package as up to date as possible. Potentially even automate the process of updating the package and pushing to the aur if that is allowed.

I would very much like to merge it with this package. Can you please get back to me. I would like to be marked as a maintainer/contributor so I can push these changes. Thank you.

https://github.com/Sokoloft/flexbv-bin

To elaborate on what I've changed.

The binary is installed to /usr/bin and the flexbv.sh file is removed. It was executing a command with no parameter and is not needed if the binary is in /usr/bin

I removed a symlink from the PKGBUILD, as it seemed to do nothing.

I added flexbv.desktop so that flexbv shows up in my DE's start menu. The PKGBUILD also pulls a icon from Pauls site to work with the .desktop file.