2017-08-29 17:17:25 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
PKG_PATH=$1
|
|
|
|
|
|
|
|
apt-get -q update
|
|
|
|
|
|
|
|
cd $PKG_PATH
|
|
|
|
|
2020-05-07 17:15:31 +02:00
|
|
|
echo "--------------------------------"
|
2017-08-29 17:17:25 +02:00
|
|
|
echo "Installing build-dependencies..."
|
|
|
|
|
2020-05-07 17:15:31 +02:00
|
|
|
mk-build-deps -i -r -t "apt-get --no-install-recommends -y" || exit 1
|
2017-08-29 17:17:25 +02:00
|
|
|
rm -f *build-deps*_all.deb
|
|
|
|
|
2020-05-07 17:15:31 +02:00
|
|
|
echo "--------------------------------"
|
2017-08-29 17:17:25 +02:00
|
|
|
echo "Creating source package..."
|
|
|
|
|
|
|
|
# Creating source package without signing it
|
|
|
|
debuild -S -sa -uc
|
|
|
|
|
|
|
|
# Be sure to clean directory
|
|
|
|
debclean
|