Build quilt packages

This commit is contained in:
2015-09-23 21:21:30 +02:00
parent 5bd63ab0ef
commit 2cff8041dc
8 changed files with 47 additions and 14 deletions

19
hooks/99-export-dist-postbuild Executable file
View File

@ -0,0 +1,19 @@
#!/bin/bash
source "${TAMARIN_UTIL}"
function move_output_to_dist {
find '../' -maxdepth 1 -name "$1" -type f -print0 | xargs -0r mv -t /dist/
}
# Create new directory
mkdir -p /dist
# Move generated files
move_output_to_dist "*.deb"
move_output_to_dist "*.changes"
move_output_to_dist "*.dsc"
move_output_to_dist "*.tar.{bz2,gz,lzma,xz}"
# Configure files permissions
chown -R ${HOST_UID}:${HOST_GID} /dist