Package Details: crumb 1.0-1.0

Git Clone URL: https://aur.archlinux.org/crumb.git (read-only, click to copy)
Package Base: crumb
Description: Crumb is a high level, functional, interpreted, dynamically typed, general-purpose programming language, with a terse syntax, and a verbose standard library.
Upstream URL: https://github.com/liam-ilan/crumb/tree/main/src
Licenses: GPL
Submitter: wtryknght
Maintainer: wtryknght
Last Packager: wtryknght
Votes: 0
Popularity: 0.000000
First Submitted: 2023-10-04 02:00 (UTC)
Last Updated: 2023-11-02 00:47 (UTC)

Required by (0)

Sources (1)

Latest Comments

FlyingJay1 commented on 2023-11-02 00:23 (UTC)

The repository doesn't have the version 1.0.

Could you please correct the version?

a821 commented on 2023-10-29 09:07 (UTC)

Thanks for fixing but there are other issues though. Please check the https://wiki.archlinux.org/title/Arch_package_guidelines

  • The package() function installs the binary to / rather than to /usr/bin (line 48). You could at the very minimum fix that with mv crumb "$pkgdir/usr/bin" or better, use the install command.
  • This is not a VCS package. You could pin a git tag or download the respective tarball from Github to fix it.
  • The version should be 0.0.2 (the last upstream) tag.
  • The pkgrel is by convention a single integer (eg: 1, 2, 3...). Using x.y here is OK but unnecessary.
  • There are empty variables, please get rid of those (epoch, groups, depends, optdepends...)
  • The check() function is useless. get rid of it.

wtryknght commented on 2023-10-28 15:11 (UTC) (edited on 2023-10-28 15:11 (UTC) by wtryknght)

↓ Just fixed it

a821 commented on 2023-10-10 09:29 (UTC)

Please do not use sudo in PKGBUILD. It is a security risk. You should copy the program to $pkgdir so the packages follows the standard. Copying directly to the system will create files not tracked by pacman.

See https://wiki.archlinux.org/title/Creating_packages#package()