summaryrefslogtreecommitdiff
path: root/manualPorts
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2022-03-10 19:07:44 +0100
committerErich Eckner <git@eckner.net>2022-03-10 19:07:44 +0100
commit8e7a20ee258ee95c2a4afad37aa6ed44845b1efb (patch)
tree811fbe0773c06760799bd55b65318f25f2a0ff3e /manualPorts
parent1db423a433961f4ca2f390e81e90db9d8e1c651f (diff)
downloadcrux-ports-8e7a20ee258ee95c2a4afad37aa6ed44845b1efb.tar.xz
lazarus: create symlinks for all executables
Diffstat (limited to 'manualPorts')
-rw-r--r--manualPorts/lazarus/.footprint1
-rw-r--r--manualPorts/lazarus/.signature6
-rw-r--r--manualPorts/lazarus/Pkgfile8
3 files changed, 9 insertions, 6 deletions
diff --git a/manualPorts/lazarus/.footprint b/manualPorts/lazarus/.footprint
index 00dba9b..3eec07d 100644
--- a/manualPorts/lazarus/.footprint
+++ b/manualPorts/lazarus/.footprint
@@ -1,6 +1,5 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-lrwxrwxrwx root/root usr/bin/lazbuild -> /usr/lib/lazarus/lazbuild
drwxr-xr-x root/root usr/lib/
drwxrwxr-x root/root usr/lib/lazarus/
-rw-rw-r-- root/root usr/lib/lazarus/.gitattributes
diff --git a/manualPorts/lazarus/.signature b/manualPorts/lazarus/.signature
index 43c53f9..e01f707 100644
--- a/manualPorts/lazarus/.signature
+++ b/manualPorts/lazarus/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/deepthought.pub
-RWQxCptPusLGGghKdNuqakYB8JE0grPRSuJrl29idwmvuSt7cjVEEJ8ECKKP9C7uvWNqAePlEz0R/2NXqUzJhM/rrn1HlB4bxQE=
-SHA256 (Pkgfile) = 54921b77112e4f5399e0be1451baad8c142b2d86a9fe6817c6f573e634fcc995
-SHA256 (.footprint) = 03b18de4f44cd6a31bfe42f2867a7d3187a632e50938f1fe02215edce3085bb7
+RWQxCptPusLGGtxxP9r5fz0V+VGZJwjjTHX1vjzKBSDYEbIBMlni4AZMfpRonC7AQ14dYMv83Xos0KUBs8jkkCJiKLce+OUshAs=
+SHA256 (Pkgfile) = 03a15be950250dde930c213977b4ed7b8248408547e886a0b70ef1c35d51bc49
+SHA256 (.footprint) = cc6e3e1c9eaf1cca98d44ac7204fe62cf1daf6342f2a12f35c6b1e1bcaa4c2e8
SHA256 (lazarus-2.2.0-0.tar.gz) = b6b5d516511e3dfb34910d7656db068d4bba80f009692500aebbcae79cb12160
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