aboutsummaryrefslogtreecommitdiff
path: root/ham/xwxapt/xwxapt.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'ham/xwxapt/xwxapt.SlackBuild')
-rw-r--r--ham/xwxapt/xwxapt.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/ham/xwxapt/xwxapt.SlackBuild b/ham/xwxapt/xwxapt.SlackBuild
index d8815c4ccad9..75ebd834d7da 100644
--- a/ham/xwxapt/xwxapt.SlackBuild
+++ b/ham/xwxapt/xwxapt.SlackBuild
@@ -22,7 +22,7 @@
PRGNAM=xwxapt
VERSION=${VERSION:-2.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -87,6 +87,11 @@ mkdir -p $PKG/usr/share/$PRGNAM-$VERSION/xwxapt/images
mkdir -p $PKG/usr/share/$PRGNAM-$VERSION/xwxapt/record
install -m 644 xwxapt/xwxaptrc $PKG/usr/share/$PRGNAM-$VERSION/xwxapt/
+mkdir -p $PKG/usr/share/applications/
+mkdir -p $PKG/usr/share/pixmaps
+install -m 644 $CWD/xwxapt.desktop $PKG/usr/share/applications
+install -m 644 $CWD/xwxapt.png $PKG/usr/share/pixmaps
+
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
@@ -98,6 +103,7 @@ find $PKG/usr/doc -type f -exec chmod 644 {} \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG${PKGTYPE:-.tgz}