diff options
author | B. Watson <yalhcru@gmail.com> | 2012-12-29 08:22:04 +0100 |
---|---|---|
committer | Matteo Bernardini <ponce@slackbuilds.org> | 2012-12-29 08:22:22 +0100 |
commit | 25d18eb252b39987de0c9f0009fc202c4046819c (patch) | |
tree | 80bf1ac3e34da6b6faa2af2f12e85a11ec6ebfac /audio/sooperlooper/sooperlooper.SlackBuild | |
parent | 5d79504e6d6a7f51079edaa8fa80a7b21515097b (diff) | |
download | slackbuilds-25d18eb252b39987de0c9f0009fc202c4046819c.tar.gz |
audio/sooperlooper: Updated for version 1.6.18.
Added license and capability support
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 0f1a0fc313..824189b395 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} |