Incorporating Xavier's comments, how about:
package() Function
------------------
An optional package() function can be specified in addition to the
build() function.
This function is run immediately after the build() function. When
specified in
combination with the fakeroot BUILDENV option in
linkman:makepkg.conf[5], fakeroot
usage will be limited to running the packaging stages. The build()
function will be
run as the user calling makepkg.
_______________________________________________
pacman-dev mailing list
[email protected]
http://archlinux.org/mailman/listinfo/pacman-dev