Created
March 4, 2020 17:57
-
-
Save nexus166/ff5b9573f0cce6f267ef1f1ca2316003 to your computer and use it in GitHub Desktop.
AURman
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # aic94xx-firmware wd719x-firmware byobu pam_wrapper fprintd-libfprint2 libfprint-git | |
| set -xeuo pipefail +v; | |
| PACKAGE="${1}"; | |
| AUR_REPO="https://aur.archlinux.org/${PACKAGE}.git"; | |
| mkdir -vp /usr/local/src; | |
| cd /usr/local/src; | |
| rm -fr "${PACKAGE}"; | |
| git clone --progress --recurse-submodules -j"$(nproc)" --depth 1 "${AUR_REPO}"; | |
| cd "${PACKAGE}"; | |
| makepkg -sri; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DLAGENTS=('file::/usr/bin/curl -gqC - -o %o %u' | |
| 'ftp::/usr/bin/curl -gqfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u' | |
| 'http::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u' | |
| 'https::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u' | |
| 'rsync::/usr/bin/rsync --no-motd -z %u %o' | |
| 'scp::/usr/bin/scp -C %u %o') | |
| VCSCLIENTS=('bzr::bzr' | |
| 'git::git' | |
| 'hg::mercurial' | |
| 'svn::subversion') | |
| CARCH="x86_64" | |
| CHOST="x86_64-pc-linux-gnu" | |
| CPPFLAGS="-D_FORTIFY_SOURCE=2" | |
| CFLAGS="-march=native -O3 -pipe -fstack-protector-strong" | |
| CXXLAGS="-march=native -O3 -pipe -fstack-protector-strong" | |
| LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now" | |
| MAKEFLAGS="-j6" | |
| DEBUG_CFLAGS="-g -fvar-tracking-assignments" | |
| DEBUG_CXXFLAGS="-g -fvar-tracking-assignments" | |
| BUILDENV=(!distcc color !ccache check !sign) | |
| OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug) | |
| INTEGRITY_CHECK=(md5) | |
| STRIP_BINARIES="--strip-all" | |
| STRIP_SHARED="--strip-unneeded" | |
| STRIP_STATIC="--strip-debug" | |
| MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info}) | |
| DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc}) | |
| PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod) | |
| DBGSRCDIR="/usr/src/debug" | |
| COMPRESSGZ=(gzip -c -f -n) | |
| COMPRESSBZ2=(bzip2 -c -f) | |
| COMPRESSXZ=(xz -c -z -) | |
| COMPRESSZST=(zstd -c -z -q -) | |
| COMPRESSLRZ=(lrzip -q) | |
| COMPRESSLZO=(lzop -q) | |
| COMPRESSZ=(compress -c -f) | |
| COMPRESSLZ4=(lz4 -q) | |
| COMPRESSLZ=(lzip -c -f) | |
| PKGEXT='.pkg.tar.xz' | |
| SRCEXT='.src.tar.gz' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment