mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-24 16:10:05 -07:00
minor cleanup
This commit is contained in:
parent
93b598d5fa
commit
d0f4358f84
11
kiss
11
kiss
@ -206,7 +206,8 @@ pkg_sources() {
|
|||||||
|
|
||||||
while read -r src dest || [ "$src" ]; do
|
while read -r src dest || [ "$src" ]; do
|
||||||
# Remote git repository or comment.
|
# Remote git repository or comment.
|
||||||
if [ -z "${src##\#*}" ] || [ -z "${src##git+*}" ]; then :
|
if [ -z "${src##\#*}" ] || [ -z "${src##git+*}" ]; then
|
||||||
|
:
|
||||||
|
|
||||||
# Remote source (cached).
|
# Remote source (cached).
|
||||||
elif [ -f "${src##*/}" ]; then
|
elif [ -f "${src##*/}" ]; then
|
||||||
@ -393,7 +394,7 @@ pkg_order() {
|
|||||||
pkg_strip() {
|
pkg_strip() {
|
||||||
# Strip package binaries and libraries. This saves space on the system as
|
# Strip package binaries and libraries. This saves space on the system as
|
||||||
# well as on the tarballs we ship for installation.
|
# well as on the tarballs we ship for installation.
|
||||||
[ -f "$mak_dir/$pkg/nostrip" ] || [ "$KISS_STRIP" = 0 ] && return
|
[ -f "$mak_dir/$pkg/nostrip" ] || [ "$KISS_STRIP" = 0 ] && return
|
||||||
|
|
||||||
log "$1" "Stripping binaries and libraries"
|
log "$1" "Stripping binaries and libraries"
|
||||||
|
|
||||||
@ -466,7 +467,7 @@ pkg_fixdeps() {
|
|||||||
# Skip files owned by libc and POSIX.
|
# Skip files owned by libc and POSIX.
|
||||||
case ${dep##*/} in
|
case ${dep##*/} in
|
||||||
"" | ld-* | libpthread.so* | lib[cm].so* | libdl.so* |\
|
"" | ld-* | libpthread.so* | lib[cm].so* | libdl.so* |\
|
||||||
librt.so* | libtrace.so* | libxnet.so*)
|
librt.so* | libtrace.so* | libxnet.so*)
|
||||||
continue
|
continue
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -513,8 +514,8 @@ pkg_manifest() (
|
|||||||
# contents.
|
# contents.
|
||||||
# sed: Remove the first character in each line (./dir -> /dir) and
|
# sed: Remove the first character in each line (./dir -> /dir) and
|
||||||
# remove all lines which only contain '.'.
|
# remove all lines which only contain '.'.
|
||||||
find . -type d -exec printf '%s/\n' {} + -o -print |
|
find . -type d -exec printf '%s/\n' {} + -o -print | sort -r |
|
||||||
sort -r | sed '/^\.\/$/d;ss.ss' > "${2:-$pkg_dir}/$1/$pkg_db/$1/manifest"
|
sed '/^\.\/$/d;ss.ss' > "${2:-$pkg_dir}/$1/$pkg_db/$1/manifest"
|
||||||
)
|
)
|
||||||
|
|
||||||
pkg_etcsums() (
|
pkg_etcsums() (
|
||||||
|
Loading…
Reference in New Issue
Block a user