Provide a default static() function for packaging static libraries
Static libraries are generally kept inside -dev() packages but it is not an optimal solution, so $pkgname-static is prefered instead.
Have abuild provide a default static() function for $pkgname-static packages.
Things to keep in mind:
- modify dev() to not add static libraries if $pkgname-static is present, or not add them at all
- Add code to check for ‘.a’ and warn the user for the need of adding $pkgname-static
(from redmine: issue id 10353, created on 2019-04-26, closed on 2019-06-19)