diff options
Diffstat (limited to 'audio/sooperlooper/sooperlooper.SlackBuild')
-rw-r--r-- | audio/sooperlooper/sooperlooper.SlackBuild | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/audio/sooperlooper/sooperlooper.SlackBuild b/audio/sooperlooper/sooperlooper.SlackBuild index 0f1a0fc31312f..824189b395ace 100644 --- a/audio/sooperlooper/sooperlooper.SlackBuild +++ b/audio/sooperlooper/sooperlooper.SlackBuild @@ -4,8 +4,10 @@ # Written by B. Watson (yalhcru@gmail.com) +# Licensed under the WTFPL. See http://sam.zoy.org/wtfpl/ for details. + PRGNAM=sooperlooper -VERSION=${VERSION:-1.6.14} +VERSION=${VERSION:-1.6.18} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -51,6 +53,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Note: the CFLAGS are actually ignored here. Oh well. CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -85,5 +88,14 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh +if [ "${SETCAP:-yes}" = "yes" ]; then + PROGS="slconsole slgui slregister $PRGNAM" + cat $CWD/setcap.sh >> $PKG/install/doinst.sh + for file in $PROGS; do + chown root:audio $PKG/usr/bin/$file + chmod 0750 $PKG/usr/bin/$file + done +fi + cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |