Skip to content

Instantly share code, notes, and snippets.

@shibumi
Created March 15, 2020 14:31
Show Gist options
  • Save shibumi/1f782765d6bf85a69a85820007583f2b to your computer and use it in GitHub Desktop.
Save shibumi/1f782765d6bf85a69a85820007583f2b to your computer and use it in GitHub Desktop.

51v4n AUR packages

python-aur

  • use sha512sums
  • try to separate python builds (don't do everything in packae(). Why: Because of reproducible builds)

Here is a good example: https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/python-black

otf-san-francisco

  • use sha512sums
  • try to format your pkgbuilds with shfmt (pacman -S shfmt)
  • cd $srcdir is not necessary, makepkg always starts in $srcdir.
  • always encapsulate variables like pkgdir with double quotes

i3-gnome

  • use sha512sums
  • I haven't tested it, but make sure to run namcap after the build for finding errors or warnings. This package might have no FULL RELRO and other security features. Some devs set different LDFLAGs in their makefile

cmdln

  • this package looks fundamentally broken and old.
  • try to use the original source at github: https://github.com/trentm/cmdln
  • You should rewrite the whole pkgbuild, if possible.
@jcstr
Copy link

jcstr commented Mar 16, 2020

Ok, thank you for your time :) I'll show you the updated pkgs here: https://github.com/jcstr/pkgbuilds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment