Package Details: gtfs-to-html 2.9.6-1

Git Clone URL: https://aur.archlinux.org/gtfs-to-html.git (read-only, click to copy)
Package Base: gtfs-to-html
Description: Build human readable transit timetables as HTML or PDF from GTFS.
Upstream URL: https://gtfstohtml.com/
Licenses: MIT
Submitter: michael_wzq
Maintainer: michael_wzq
Last Packager: michael_wzq
Votes: 0
Popularity: 0.000000
First Submitted: 2024-06-11 08:56 (UTC)
Last Updated: 2024-09-10 05:33 (UTC)

Latest Comments

dreieck commented on 2024-09-11 13:45 (UTC)

It still downloads stuff in package().

dreieck commented on 2024-07-04 10:45 (UTC)

Can you install an example config.json to /usr/share/doc/gtfs-to-html/config.example.json?

That would be helpful.

Regards!

dreieck commented on 2024-07-04 10:43 (UTC)

Please make sure that

  • all the npm dependency download happens in prepare(), not in package()!,
  • it is downloaded to a subdirectory of $srcdir (to not clutter the build user's $HOME directory).

Also, dependencies are missing:

  • nodejs, and maybe:
  • gcc-libs, bash, glibc.

Also, this seems to not be an arch=('any') package. According to namcap:

gtfs-to-html E: ELF file ('usr/lib/node_modules/gtfs-to-html/node_modules/bare-fs/prebuilds/linux-arm64/bare-fs.bare') found in an 'any' package.
gtfs-to-html E: ELF file ('usr/lib/node_modules/gtfs-to-html/node_modules/bare-fs/prebuilds/linux-x64/bare-fs.bare') found in an 'any' package.
gtfs-to-html E: ELF file ('usr/lib/node_modules/gtfs-to-html/node_modules/bare-os/prebuilds/linux-arm64/bare-os.bare') found in an 'any' package.
gtfs-to-html E: ELF file ('usr/lib/node_modules/gtfs-to-html/node_modules/bare-os/prebuilds/linux-x64/bare-os.bare') found in an 'any' package.
gtfs-to-html E: ELF file ('usr/lib/node_modules/gtfs-to-html/node_modules/better-sqlite3/build/Release/better_sqlite3.node') found in an 'any' package.

And you need to install the license into /usr/share/licenses/${pkgname}/:

gtfs-to-html E: Uncommon license identifiers such as 'MIT' require license files below /usr/share/licenses/gtfs-to-html/ or switching to common license identifiers. Found 0/1 required license files.

Regards and thanks for the package!