diff options
author | ejjl | 2023-01-04 14:38:00 +0200 |
---|---|---|
committer | ejjl | 2023-01-04 14:38:00 +0200 |
commit | 1fdfff6479d37d1a80c4e718c5a9b3af4f2023f2 (patch) | |
tree | cc9e2db54f889719ec1fda1d24ccd4c8eef982fd | |
parent | c0eab5ab30df4b6c08f1c2c84daf518e70c4e26b (diff) | |
download | aur-1fdfff6479d37d1a80c4e718c5a9b3af4f2023f2.tar.gz |
Added libcs50.install file and updated PKGBUILD
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 1 | ||||
-rw-r--r-- | libcs50.install | 5 |
3 files changed, 7 insertions, 0 deletions
@@ -3,6 +3,7 @@ pkgbase = libcs50 pkgver = 11.0.1 pkgrel = 1 url = https://github.com/cs50/libcs50 + install = libcs50.install arch = i686 arch = x86_64 groups = cs50 @@ -19,6 +19,7 @@ source=( ) sha256sums=('339a3903d20af5b1eff27515a0756e33d182fdafc02c7712b11f5b34c6252788' '4a10efd4f4f6b6bb18152a4f28497f7f8562aaa5aaf50c401d308827b922ef3f') +install=libcs50.install prepare() { cd "${pkgname}-${pkgver}" diff --git a/libcs50.install b/libcs50.install new file mode 100644 index 000000000000..e2c4ebb13c09 --- /dev/null +++ b/libcs50.install @@ -0,0 +1,5 @@ +post_install() { + echo -e 'SUGGESTION:\n' + echo -e '\nInstead of using a makefile, you can add the following alias to your ~/.bashrc:' + echo -e " "alias make50="'"'make CC=clang CFLAGS="-fsanitize=signed-integer-overflow -fsanitize=undefined -ggdb3 -O0 -std=c11 -Wall -Werror -Wextra -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wshadow" LDLIBS="-lcrypt -lcs50 -lm"'"'"'\n' +} |