Skip to content

Commit 7dfc688

Browse files
authored
mkdeb: add metainfo file to sources (#227)
1 parent e039ff8 commit 7dfc688

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package/mkdeb.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ _current_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
55
_root_dir="$(cd "$_current_dir/.." && pwd)"
66
_release_dir="$_root_dir/build/release"
77
_spec="$_root_dir/package/helium-bin.spec"
8+
_metainfo_file="$_root_dir/package/net.imput.helium.metainfo.xml"
89

910
_version=$(python3 "$_root_dir/helium-chromium/utils/helium_version.py" \
1011
--tree "$_root_dir/helium-chromium" \
@@ -28,7 +29,7 @@ _debbuild_dir=$(mktemp -d)
2829
trap 'rm -rf "$_debbuild_dir"' EXIT
2930

3031
mkdir -p "$_debbuild_dir"/{BUILD,SOURCES,SPECS,DEBS}
31-
ln -s "$_tarball" "$_debbuild_dir/SOURCES/"
32+
ln -s "$_tarball" "$_metainfo_file" "$_debbuild_dir/SOURCES/"
3233
cp "$_spec" "$_debbuild_dir/SPECS/"
3334

3435
debbuild \

0 commit comments

Comments
 (0)