summaryrefslogtreecommitdiffstats
path: root/evolvotron/build/evolvotron.SlackBuild
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2019-05-31 09:47:08 +0000
committer Eric Hameleers <alien@slackware.com>2019-05-31 09:47:08 +0000
commit9c20678e03445b62dbbfc59f75f11cdd8a2581af (patch)
tree5581cdf2c082ca1e361dd57d738a71910f0e0090 /evolvotron/build/evolvotron.SlackBuild
parentcc7e5c63340d438272f43b68461eba53e5e4a991 (diff)
downloadasb-9c20678e03445b62dbbfc59f75f11cdd8a2581af.tar.gz
asb-9c20678e03445b62dbbfc59f75f11cdd8a2581af.tar.xz
evolvotron: add a slack-required file. Fix the ownership of the bitmap file
Diffstat (limited to 'evolvotron/build/evolvotron.SlackBuild')
-rwxr-xr-xevolvotron/build/evolvotron.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/evolvotron/build/evolvotron.SlackBuild b/evolvotron/build/evolvotron.SlackBuild
index 79a49689..bdf61910 100755
--- a/evolvotron/build/evolvotron.SlackBuild
+++ b/evolvotron/build/evolvotron.SlackBuild
@@ -232,7 +232,7 @@ cp man/man1/*.1 $PKG/usr/man/man1
# Add a .desktop file:
mkdir -p $PKG/usr/share/pixmaps
-cp -ia $SRCDIR/${PRGNAM}.png $PKG/usr/share/pixmaps/
+install -m0644 -o root -g root $SRCDIR/${PRGNAM}.png $PKG/usr/share/pixmaps/
mkdir -p $PKG/usr/share/applications
cat <<EOT > $PKG/usr/share/applications/${PRGNAM}.desktop
[Desktop Entry]
@@ -270,6 +270,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" \
# Add a package description:
mkdir -p $PKG/install
cat $SRCDIR/slack-desc > $PKG/install/slack-desc
+cat $SRCDIR/slack-required > $PKG/install/slack-required
# Build the package:
cd $PKG
@@ -278,6 +279,7 @@ cd $OUTPUT
md5sum ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz > ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz.md5
cd -
cat $PKG/install/slack-desc | grep "^${PRGNAM}" > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txt
+cat $PKG/install/slack-required > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.dep
umask ${_UMASK_}