WIP génération tarball sources
This commit is contained in:
10
hooks/01-debian/create-orig-archive-prebuild
Executable file
10
hooks/01-debian/create-orig-archive-prebuild
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "${TAMARIN_UTIL}"
|
||||
|
||||
project_name=$(get_opt project_name)
|
||||
src_tarball="../${project_name}_${package_version}.orig.tar.gz"
|
||||
|
||||
info "Creating sources tarball ${src_tarball}"
|
||||
|
||||
tar -czf "${src_tarball}" .
|
8
hooks/01-debian/install-build-depends-prebuild
Executable file
8
hooks/01-debian/install-build-depends-prebuild
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "${TAMARIN_UTIL}"
|
||||
|
||||
if [ -f debian/control ]; then
|
||||
info "Installing build dependencies..."
|
||||
mk-build-deps -t "apt-get --force-yes -y" --install debian/control
|
||||
fi
|
Reference in New Issue
Block a user