summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorohfp <1813007-ohfp@users.noreply.gitlab.com>2021-07-15 15:05:22 +0200
committerohfp <1813007-ohfp@users.noreply.gitlab.com>2021-07-15 15:05:22 +0200
commitd93998bbc16fa493a3670679d4c74267aefe7cd7 (patch)
treee386ce758e98533385fc6194c435ed591c2a6b28 /scripts
parentparentheses need escaping with sed -r, it seems (diff)
downloadlibrewolf-debian-d93998bbc16fa493a3670679d4c74267aefe7cd7.tar.gz
librewolf-debian-d93998bbc16fa493a3670679d4c74267aefe7cd7.tar.bz2
librewolf-debian-d93998bbc16fa493a3670679d4c74267aefe7cd7.zip
this time, let us try it with including cbindgen in OBS instead
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/prep-librewolf-dpkg.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/prep-librewolf-dpkg.sh b/scripts/prep-librewolf-dpkg.sh
index f2815ed..ae3e3ef 100755
--- a/scripts/prep-librewolf-dpkg.sh
+++ b/scripts/prep-librewolf-dpkg.sh
@@ -96,6 +96,16 @@ cd "${debian_dir}"
patch -Np1 -i "${CI_PROJECT_DIR}"/cbindgen.patch
cd "${work_dir}"
+cat <<'EOF' >> "${debian_dir}"/Cargo.toml
+[package]
+name = "debian"
+version = "0.1.0"
+edition = "2018"
+
+[dependencies]
+cbindgen = "0.19.0"
+EOF
+
# update debian/control file
# update fields and add libjack-dev
bgstack15