--- PKGBUILD.orig 2017-08-16 13:20:47.041444722 +0200 +++ PKGBUILD.new 2017-08-16 15:48:01.357392559 +0200 @@ -76,9 +119,16 @@ # build and install extra tools cd tools make # all executables and .conf files ; only top directory - find -maxdepth 1 -type f -and -perm /111 -or -name '*.conf' | while read i ; do + find -maxdepth 1 -type f -and -perm /111 | while read i ; do install -D -m755 ${i} \ ${pkgdir}/usr/lib/claws-mail/tools/${i} done + find -maxdepth 1 -type f -and -name '*.conf' | while read _toolconffile ; do + install -D -m644 "${_toolconffile}" \ + "${pkgdir}/usr/lib/claws-mail/tools/${_toolconffile}" + done + for _toolsfile in README; do + install -D -m644 "${_toolsfile}" "${pkgdir}/usr/lib/claws-mail/tools/${_toolsfile}" + done }