diff options
author | Michales Michaloudes <korgie@gmail.com> | 2011-07-10 23:10:51 -0400 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-07-14 21:54:03 -0300 |
commit | d74fdc7745011dc6b14c6d7c5e75ad3b40ad1301 (patch) | |
tree | 7057afad07480f20d0b809dd939c570ed6a7ebd2 /audio/stops/stops.SlackBuild | |
parent | 195a9ddcee263ae5b66853b3596a70efd0d0ef63 (diff) |
audio/stops: Added (Sound definitions for aeolus)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'audio/stops/stops.SlackBuild')
-rw-r--r-- | audio/stops/stops.SlackBuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/audio/stops/stops.SlackBuild b/audio/stops/stops.SlackBuild new file mode 100644 index 000000000000..d9ce7e71d940 --- /dev/null +++ b/audio/stops/stops.SlackBuild @@ -0,0 +1,48 @@ +#!/bin/sh +# Slackware build script for <stops> +# Written by Michales Michaloudes korgie@gmail.com + + +PRGNAM=stops +VERSION=${VERSION:-0.3.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +ARCH=noarch + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xjvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 +cd $PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +mkdir -p $PKG/etc +cat $CWD/aeolus.conf.new > $PKG/etc/aeolus.conf.new + +mkdir -p $PKG/usr/share/aeolus/$PRGNAM-$VERSION +cp -ar $TMP/$PRGNAM-$VERSION/ $PKG/usr/share/aeolus/ +rm $PKG/usr/share/aeolus/$PRGNAM-$VERSION/Makefile + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |