summaryrefslogtreecommitdiff
path: root/manualPorts/lazarus/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'manualPorts/lazarus/Pkgfile')
-rw-r--r--manualPorts/lazarus/Pkgfile8
1 files changed, 6 insertions, 2 deletions
diff --git a/manualPorts/lazarus/Pkgfile b/manualPorts/lazarus/Pkgfile
index eb90834..ccd88a5 100644
--- a/manualPorts/lazarus/Pkgfile
+++ b/manualPorts/lazarus/Pkgfile
@@ -5,7 +5,7 @@
name=lazarus
version=2.2.0
-release=1
+release=2
source=(https://downloads.sourceforge.net/project/$name/Lazarus%20Zip%20_%20GZip/Lazarus%20$version/$name-$version-0.tar.gz)
build() {
@@ -24,7 +24,11 @@ build() {
--exclude="debian" --exclude="COPYING*" \
--exclude="*.app" --exclude="tools/install" \
. "$PKG"/usr/lib/lazarus
- ln -s /usr/lib/lazarus/lazbuild "$PKG"/usr/bin/lazbuild
+ for s in "$PKG"/usr/bin/*; do
+ [ ! -d "$s" ] || continue
+ [ -x "$s" ] || continue
+ ln -s "../lib/lazarus/${s##*/}" "${PKG}/usr/bin/${s##*/}"
+ done
cp -R install/man/man1/* "$PKG"/usr/share/man/man1/
mv "$PKG"/usr/lib/lazarus/docs "$PKG"/usr/share/doc/lazarus
mkdir -p "$PKG"/usr/lib/lazarus/docs