Fixing a lot of bugs of packages.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9833e7ae65
commit
f5fee9ae35
6 changed files with 58 additions and 18 deletions
|
@ -1 +0,0 @@
|
|||
11
|
|
@ -1 +0,0 @@
|
|||
logarithmplotter usr/bin/
|
|
@ -23,12 +23,12 @@
|
|||
],
|
||||
"modules": [
|
||||
"python3-pyside2.json",
|
||||
|
||||
{
|
||||
"name": "LogarithmPlotter",
|
||||
"buildsystem": "simple",
|
||||
"config-opts": ["no-debuginfo-compression"],
|
||||
"build-commands": [
|
||||
"rm -rf .git",
|
||||
"PREFIX=\"/app/share\" FLATPAK_INSTALL=1 python3 setup.py install --prefix=/app"
|
||||
],
|
||||
"sources": [
|
||||
|
|
24
linux/sign-deb.sh
Executable file
24
linux/sign-deb.sh
Executable file
|
@ -0,0 +1,24 @@
|
|||
#!/bin/bash
|
||||
# This script is used to sign the LogarithmPlotter deb directly from it's DSC file.
|
||||
# Adapted from https://github.com/astraw/stdeb/issues/181
|
||||
|
||||
PPA_ARCHIVE="ppa:ad5001/logarithmplotter"
|
||||
|
||||
cd ../deb_dist
|
||||
|
||||
# create a temporary folder
|
||||
mkdir tmp -p
|
||||
cd tmp
|
||||
rm -rf *
|
||||
|
||||
# DSC file variables
|
||||
dsc_file="$(find ../ -regextype sed -regex ".*/*\-ppa[0-9]*.dsc" | cut -c 4-)"
|
||||
source_package_name="$(echo $dsc_file | cut -c -$(expr ${#dsc_file} - 4))"
|
||||
|
||||
# extract and sign the files
|
||||
dpkg-source -x "../$dsc_file"
|
||||
cd "$(find . -type d | head -n 2 | tail -n 1 | cut -c 3-)" # go to the (only) directory.
|
||||
debuild -S -sa -k"mail@ad5001.eu"
|
||||
|
||||
# upload package to my PPA
|
||||
dput $PPA_ARCHIVE "../${source_package_name}_source.changes"
|
Loading…
Add table
Add a link
Reference in a new issue