Package Details: microbin 2.0.4-1

Git Clone URL: https://aur.archlinux.org/microbin.git (read-only, click to copy)
Package Base: microbin
Description: A tiny, self-contained, configurable paste bin and URL shortener written in Rust.
Upstream URL: https://github.com/szabodanika/microbin
Keywords: microbin pastebin
Licenses: BSD
Submitter: FoxFromDarkness
Maintainer: pikl
Last Packager: pikl
Votes: 1
Popularity: 0.000037
First Submitted: 2022-07-07 15:23 (UTC)
Last Updated: 2023-08-03 18:23 (UTC)

Latest Comments

pikl commented on 2023-03-19 15:31 (UTC)

Build fails in clean chroot due to this line:

install -do http -g http "$pkgdir"/var/lib/microbin/

The http user does not exist. Suggest this is fixed using the same approach as shlink by hard-coding the uid and gid to 33:

# https://wiki.archlinux.org/title/DeveloperWiki:UID_/_GID_Database
_http_uid_gid=33

...

install -do ${_http_uid_gid} -g ${_http_uid_gid} "$pkgdir"/var/lib/microbin/

kseistrup commented on 2022-11-09 09:34 (UTC)

Please: The arch variable should be any if the final package is installable on “any” architecture, which is not the case when there's a binary ELF excutable in the package. Instead it should be x86_64 + whatever architectures rust runs on.

Another thing: The sed commands in build() will not work for e.g. -flto=auto. I believe a better way is to use options=('!lto').