Commit bbcaa47c authored by Natanael Copa's avatar Natanael Copa
Browse files

usr/bin/*-config belongs into -dev packages

parent 958b5990
......@@ -347,13 +347,16 @@ mod() {
# predefined splitfunc dev
dev() {
for i in $(cd "$pkgdir" && find usr/lib -name '*.a' -o \
cd "$pkgdir" || return 0
for i in cd $(find usr/lib -name '*.a' -o \
-name '*.la' -o -name '*.o' 2>/dev/null) \
usr/include usr/lib/pkgconfig usr/share/aclocal; do
usr/include usr/lib/pkgconfig usr/share/aclocal \
usr/bin/*-config ; do
if [ -e "$pkgdir/$i" ] || [ -L "$pkgdir/$i" ]; then
d="$subpkgdir/${i%/*}" # dirname $i
mkdir -p "$d"
mv "$pkgdir/$i" "$d"
rmdir "$pkgdir/${i%/*}" 2>/dev/null
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment