summaryrefslogtreecommitdiff
path: root/network/kadu
diff options
context:
space:
mode:
Diffstat (limited to 'network/kadu')
-rw-r--r--network/kadu/kadu.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/network/kadu/kadu.SlackBuild b/network/kadu/kadu.SlackBuild
index 83402980ec..b24650c777 100644
--- a/network/kadu/kadu.SlackBuild
+++ b/network/kadu/kadu.SlackBuild
@@ -49,9 +49,10 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
patch -p1 < $CWD/kadu.patch
+
mkdir -p build
cd build
cmake .. \
@@ -76,11 +77,11 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Remove all license files
-find $(INSTALL_DIR) -name '[lL][iI][cC][eE][nN][sS][eE].txt' -delete
+find "$PKG" -name '[lL][iI][cC][eE][nN][sS][eE].txt' -delete
# Move cmake files in the proper place
mv $PKG/usr/share/cmake \
- $PKG/usr/share/cmake-$(cmake --version | cut -d\ -f3 | cut -d. -f1-2)
+ $PKG/usr/share/cmake-$(cmake --version | head -1 | cut -d\ -f3 | cut -d. -f1-2)
# Move this away too...
mv $PKG/usr/sdk $PKG/usr/share/$PRGNAM/