summaryrefslogtreecommitdiffstats
path: root/desktop/wmwebcam/wmwebcam.SlackBuild
diff options
context:
space:
mode:
author B. Watson2021-09-09 19:12:44 +0200
committer Willy Sudiarto Raharjo2021-10-12 19:52:08 +0200
commitae9ef7bb5748a9c00af332f62b8c1b50692589f6 (patch)
tree350f6e98ac6f20cf4463d9333765f3125041943c /desktop/wmwebcam/wmwebcam.SlackBuild
parent5ed7228091d81eecd7703782dbe119a7e32b8301 (diff)
downloadslackbuilds-ae9ef7bb5748a9c00af332f62b8c1b50692589f6.tar.gz
desktop/wmwebcam: Remove template comment.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/wmwebcam/wmwebcam.SlackBuild')
-rw-r--r--desktop/wmwebcam/wmwebcam.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/desktop/wmwebcam/wmwebcam.SlackBuild b/desktop/wmwebcam/wmwebcam.SlackBuild
index f3bf98d42b..50331aa313 100644
--- a/desktop/wmwebcam/wmwebcam.SlackBuild
+++ b/desktop/wmwebcam/wmwebcam.SlackBuild
@@ -27,6 +27,11 @@
# Now maintained by B. Watson <yalhcru@gmail.com>
+# 20210909 bkw: I still don't have (or want) a webcam. All I can say
+# about wmwebcam is that it compiles, creates a valid package, and
+# when I run it, "Can't open device /dev/video0" (as expected). Do
+# you use this? Please take it!
+
# 20160821 bkw:
# - take over maintenance
# - BUILD=2
@@ -52,9 +57,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -87,11 +89,8 @@ rm -rf $PRGNAM-$VERSION-fixed
tar xvf $CWD/$PRGNAM-$VERSION-fixed.tar.gz
cd $PRGNAM-$VERSION-fixed
chown -R root:root .
-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 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# probably unnecessary, paranoia says memcpy() needs a prototype.
patch -p1 < $CWD/compilefix.diff