mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-24 21:54:59 +00:00
build: refactor build scripts
use right way to include symlinks and some other minor changes
This commit is contained in:
parent
646f7f90cf
commit
6bea4b42a2
5 changed files with 19 additions and 28 deletions
|
@ -16,12 +16,13 @@ cd ../../
|
|||
|
||||
# Debain/Ubuntu package
|
||||
mkdir -p resources/deb/opt/sourcegit/
|
||||
mkdir -p resources/deb/usr/bin
|
||||
mkdir -p resources/deb/usr/share/applications
|
||||
mkdir -p resources/deb/usr/share/icons
|
||||
cp -f SourceGit/* resources/deb/opt/sourcegit/
|
||||
ln -sf ../../opt/sourcegit/sourcegit resources/deb/usr/bin
|
||||
cp -r resources/_common/applications resources/deb/usr/share/
|
||||
cp -r resources/_common/icons resources/deb/usr/share/
|
||||
chmod +x -R resources/deb/opt/sourcegit
|
||||
sed -i "2s/.*/Version: ${version}/g" resources/deb/DEBIAN/control
|
||||
dpkg-deb --build resources/deb ./sourcegit_${version}-1_amd64.deb
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue