summaryrefslogtreecommitdiff
path: root/development/lazarus/lazarus.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/lazarus/lazarus.SlackBuild')
-rw-r--r--development/lazarus/lazarus.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/development/lazarus/lazarus.SlackBuild b/development/lazarus/lazarus.SlackBuild
index 19d70af66c..9f683b7975 100644
--- a/development/lazarus/lazarus.SlackBuild
+++ b/development/lazarus/lazarus.SlackBuild
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=lazarus
-VERSION=${VERSION:-1.2.2}
+VERSION=${VERSION:-1.2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -80,7 +80,7 @@ make install \
ln -sf ../share/lazarus/startlazarus
)
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Install desktop file, icon, and mime entry
@@ -90,9 +90,7 @@ cat images/ide_icon48x48.png > $PKG/usr/share/pixmaps/lazarus.png
cat install/lazarus-mime.xml > $PKG/usr/share/mime/packages/lazarus-mime.xml
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -ra \
- COPYING* README.txt docs/* examples/ \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ra COPYING* README.txt docs/* examples/ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install