mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 20:19:29 +02:00
debian package: fixed links to binaries, added note about other lazarus deb package with different start names
git-svn-id: trunk@10838 -
This commit is contained in:
parent
6b9944e3a0
commit
19de3f2b38
@ -22,6 +22,7 @@ LazBuildDir=$TmpDir/lazarus_build
|
|||||||
LazDeb=$CurDir/lazarus_${LazVersion}-${LazRelease}_$Arch.deb
|
LazDeb=$CurDir/lazarus_${LazVersion}-${LazRelease}_$Arch.deb
|
||||||
DebianSrcDir=$CurDir/debian_lazarus
|
DebianSrcDir=$CurDir/debian_lazarus
|
||||||
LazDestDir=$LazBuildDir/usr/share/lazarus
|
LazDestDir=$LazBuildDir/usr/share/lazarus
|
||||||
|
LazDestDirInstalled=/usr/share/lazarus
|
||||||
FPCVersion=$(ppc386 -v | grep version| sed 's/.*\([0-9]\+\.[0-9]\+\.[0-9]\+\).*/\1/')
|
FPCVersion=$(ppc386 -v | grep version| sed 's/.*\([0-9]\+\.[0-9]\+\.[0-9]\+\).*/\1/')
|
||||||
ChangeLogDate=`date --rfc-822`
|
ChangeLogDate=`date --rfc-822`
|
||||||
|
|
||||||
@ -85,9 +86,9 @@ mkdir -p $LazBuildDir/usr/share/applications
|
|||||||
mkdir -p $LazBuildDir/usr/bin/
|
mkdir -p $LazBuildDir/usr/bin/
|
||||||
install -m 644 $LazDestDir/images/ide_icon48x48.png $LazBuildDir/usr/share/pixmaps/lazarus.png
|
install -m 644 $LazDestDir/images/ide_icon48x48.png $LazBuildDir/usr/share/pixmaps/lazarus.png
|
||||||
install -m 644 $LazDestDir/install/lazarus.desktop $LazBuildDir/usr/share/applications/lazarus.desktop
|
install -m 644 $LazDestDir/install/lazarus.desktop $LazBuildDir/usr/share/applications/lazarus.desktop
|
||||||
ln -s $LazDestDir/lazarus $LazBuildDir/usr/bin/lazarus
|
ln -s $LazDestDirInstalled/lazarus $LazBuildDir/usr/bin/lazarus
|
||||||
ln -s $LazDestDir/startlazarus $LazBuildDir/usr/bin/startlazarus
|
ln -s $LazDestDirInstalled/startlazarus $LazBuildDir/usr/bin/startlazarus
|
||||||
ln -s $LazDestDir/lazbuild $LazBuildDir/usr/bin/lazbuild
|
ln -s $LazDestDirInstalled/lazbuild $LazBuildDir/usr/bin/lazbuild
|
||||||
|
|
||||||
# docs
|
# docs
|
||||||
mkdir -p $LazBuildDir/usr/share/man/man1
|
mkdir -p $LazBuildDir/usr/share/man/man1
|
||||||
@ -102,8 +103,11 @@ echo "creating deb ..."
|
|||||||
cd $TmpDir
|
cd $TmpDir
|
||||||
fakeroot dpkg-deb --build $LazBuildDir
|
fakeroot dpkg-deb --build $LazBuildDir
|
||||||
mv $LazBuildDir.deb $LazDeb
|
mv $LazBuildDir.deb $LazDeb
|
||||||
echo "the new deb can be found at $LazDeb."
|
echo "the new deb can be found at $LazDeb"
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
|
# removing temporary files
|
||||||
|
rm -r $TmpDir
|
||||||
|
|
||||||
# end.
|
# end.
|
||||||
|
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
lazarus (0.9.22)
|
||||||
|
|
||||||
|
The Lazarus IDE is started with "startlazarus" or directly with "lazarus".
|
||||||
|
Some other lazarus packages out there uses "lazarus-ide" to start.
|
||||||
|
If you are switching from such a package to this, please check your desktop
|
||||||
|
icons.
|
||||||
|
|
||||||
|
|
||||||
lazarus (0.9.4)
|
lazarus (0.9.4)
|
||||||
|
|
||||||
* Started package
|
* Started package
|
||||||
|
Loading…
Reference in New Issue
Block a user