aboutsummaryrefslogtreecommitdiff
path: root/audio/ecasound/ecasound.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2015-05-12 21:12:38 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-17 23:45:53 +0700
commit7d62c60e0f0ad2252cb774af03494986380fc535 (patch)
tree81a921902787e53d1a284cf5724a602c53656c1b /audio/ecasound/ecasound.SlackBuild
parent3fd1b52cbaabf7f20996d8e78c4d39d3d439c102 (diff)
audio/ecasound: Updated for version 2.9.1.
Diffstat (limited to 'audio/ecasound/ecasound.SlackBuild')
-rw-r--r--audio/ecasound/ecasound.SlackBuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/audio/ecasound/ecasound.SlackBuild b/audio/ecasound/ecasound.SlackBuild
index 793b1c95e752b..e055db8b98c5c 100644
--- a/audio/ecasound/ecasound.SlackBuild
+++ b/audio/ecasound/ecasound.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=ecasound
-VERSION=${VERSION:-2.9.0}
+VERSION=${VERSION:-2.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -108,5 +108,13 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+# Only add capability stuff if not disabled:
+if [ "${SETCAP:-yes}" = "yes" ]; then
+ cat $CWD/setcap.sh >> $PKG/install/doinst.sh
+ # Only allow execution by audio group
+ chown root:audio $PKG/usr/bin/$PRGNAM
+ chmod 0750 $PKG/usr/bin/$PRGNAM
+fi
+
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}