mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-09-28 12:22:39 -06:00
kiss: Skip removal of .la files and charset.alias
Instead, just don't include them in the manifest. Same result.
This commit is contained in:
parent
ae345fd8c2
commit
85c053430b
13
kiss
13
kiss
@ -656,8 +656,10 @@ pkg_manifest() {
|
|||||||
cd "${2:-$pkg_dir}/$1"
|
cd "${2:-$pkg_dir}/$1"
|
||||||
|
|
||||||
# Create a list of all files and directories. Append '/' to the end of
|
# Create a list of all files and directories. Append '/' to the end of
|
||||||
# directories so they can be easily filtered out later.
|
# directories so they can be easily filtered out later. Also filter out
|
||||||
find . -type d -exec printf '%s/\n' {} + -o ! -type d -print |
|
# all libtool .la files and charset.alias.
|
||||||
|
find . -type d -exec printf '%s/\n' {} + \
|
||||||
|
-o \( ! -type d -a ! -name \*.la -a ! -name charset.alias \) -print |
|
||||||
|
|
||||||
# sort: Sort the output in *reverse*. Directories appear *after* their
|
# sort: Sort the output in *reverse*. Directories appear *after* their
|
||||||
# contents.
|
# contents.
|
||||||
@ -893,13 +895,6 @@ pkg_build() {
|
|||||||
# arg3: path to DESTDIR
|
# arg3: path to DESTDIR
|
||||||
run_hook post-build "$1" "$pkg_dir/$1"
|
run_hook post-build "$1" "$pkg_dir/$1"
|
||||||
|
|
||||||
# Remove all .la files from package.
|
|
||||||
find "$pkg_dir/$1/usr/lib" \
|
|
||||||
-name \*.la -exec rm -f {} + 2>/dev/null || :
|
|
||||||
|
|
||||||
# Remove unneeded file from all packages.
|
|
||||||
rm -f "$pkg_dir/$1/usr/lib/charset.alias"
|
|
||||||
|
|
||||||
# Ensure manifest is added to manfiest.
|
# Ensure manifest is added to manfiest.
|
||||||
: > "$pkg_dir/$1/$pkg_db/$1/manifest"
|
: > "$pkg_dir/$1/$pkg_db/$1/manifest"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user