Package Details: catbin-git r64.e4334fa-1

Git Clone URL: https://aur.archlinux.org/catbin-git.git (read-only, click to copy)
Package Base: catbin-git
Description: A pastebin server meant for the terminal. A clone of termbin.com (fiche).
Upstream URL: https://github.com/LevitatingBusinessMan/catbin
Licenses: MIT
Provides: catbin
Submitter: Levitating
Maintainer: Levitating
Last Packager: Levitating
Votes: 0
Popularity: 0.000000
First Submitted: 2023-11-30 17:57 (UTC)
Last Updated: 2023-11-30 17:57 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

m040601 commented on 2025-04-06 16:18 (UTC) (edited on 2025-04-06 16:28 (UTC) by m040601)

Just notice some mistakes on this PKGBUILD

pacman -Qi catbin-git

Name            : catbin-git
Version         : r64.e4334fa-1
Build Date      : Thu 07 Dec 2023 01:26:44 PM WET

pacman -Ql catbin-git

catbin-git /etc/
catbin-git /etc/catbind.conf
catbin-git /usr/
catbin-git /usr/bin/
catbin-git /usr/bin/catbind
catbin-git /usr/lib/
catbin-git /usr/lib/systemd/
catbin-git /usr/lib/systemd/system/
catbin-git /usr/lib/systemd/system/catbind.service
catbin-git /usr/share/
catbin-git /usr/share/catbind/
catbin-git /usr/share/catbind/LICENSE
catbin-git /usr/share/catbind/README.md
catbin-git /usr/share/catbind/webcontent/
catbin-git /usr/share/catbind/webcontent/index.html
catbin-git /var/
catbin-git /var/lib/
catbin-git /var/lib/catbind/

These 2 are wrongly placed,

catbin-git /usr/share/catbind/LICENSE
catbin-git /usr/share/catbind/README.md

It should be,

/usr/share/doc/catbind/README.md
/usr/share/licenses/catbind/LICENSE

There is also a naming inconsistency and incongruency between,

"catbin"

That is the project name, github repo name and PKGBUILD name.

and,

"catbind" with d.

That is the name the author chose for the binary.

According to the AUR/PKGBUILD guidelines what you put in "/usr/share" should be named according to the PKGBUILD name. Not the "binary" name.

So not this,

catbin-git /usr/share/licenses/catbind/...foo bar
catbin-git /usr/share/doc/catbind/...foo bar

This without the "d",

catbin-git /usr/share/licenses/catbin/...foo bar
catbin-git /usr/share/doc/catbin/...foo bar

m040601 commented on 2023-11-30 20:21 (UTC)

@Levitating

Great to know !

If you had "releases" on github, you could have two "PGKBUILDS" on AUR like many other tools.

A "catbin-git" and a "catbin". A "catbin-git" PKGBUILD will give you almost zero work to maintain.

A "catbin" as it is now (version 0.1 ?) also works fine.

That way you can relax and take your time to work more on catbin on github whenever you feel like. If those changes "deserve" a new "release" than in a couple of months/years you can make a new release and update the "catbin" PKGBUILD.

In the mean time, AUR users who choose the "catbin-git" PKGBUILD can give you back feedback about any of those changes.

Levitating commented on 2023-11-30 17:58 (UTC)

The merge request is pending

Levitating commented on 2023-11-30 17:36 (UTC) (edited on 2023-11-30 17:37 (UTC) by Levitating)

Hey thanks for reminding me. I'll try to rename the package somewhere doing the weekend, I'll have to lookup the process for it. I'll also make sure the package the LICENSE and README.

m040601 commented on 2023-11-29 12:33 (UTC) (edited on 2023-11-29 12:35 (UTC) by m040601)

Can you please explain why havent you renamed the PKGBUILD to "catbin-git" ?

m040601 commented on 2023-09-28 01:36 (UTC) (edited on 2023-10-03 17:00 (UTC) by m040601)

Thanks for developing this tool and maintaining the PKGBUILD. Very usefull since there is no "fiche" PKGBUILD on the AUR. "fiche", https://github.com/solusipse/fiche is actually the tool that powers the website "termbin.com". Last updated 2018.

Nice that you also shipped the systemd files. Very convenient

You should actually rename this PKGBUILD from

"catbin"

to

"catbin-git"

(Check https://wiki.archlinux.org/title/AUR_submission_guidelines#Rules_of_submission)

You are building it using "source=("git+https://github.com..." and not pulling a tar.gz release from github.

You could also improve the description,

Description:    A pastebin server meant for the terminal

You should add the "A termbin.com clone" to the "Description" like you have on the README. And the word "netcat". On the AUR,it makes it easier to find and understand better what this tool is and does. My suggestion,

Description:    A pastebin server meant for terminal usage with netcat. Clone of fiche powering termbin.com

You are missing the LICENSE that should end up in something like

/usr/share/licenses/catbin/LICENSE

Same for the usefull README

/usr/share/doc/catbin/README.md