summaryrefslogtreecommitdiff
path: root/desktop/trayer-srg/trayer-srg.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-12-09 08:11:13 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-12-12 07:49:02 +0700
commitc81a6bbb7129b2e5fdf193a7e0a7880d10c1fa66 (patch)
treec3cd389db94ae2fd14193cef3a51b19378136490 /desktop/trayer-srg/trayer-srg.SlackBuild
parent918703d130fb74196013a84e793b8da3965ad07e (diff)
downloadslackbuilds-c81a6bbb7129b2e5fdf193a7e0a7880d10c1fa66.tar.gz
desktop/trayer-srg: New maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/trayer-srg/trayer-srg.SlackBuild')
-rw-r--r--desktop/trayer-srg/trayer-srg.SlackBuild24
1 files changed, 12 insertions, 12 deletions
diff --git a/desktop/trayer-srg/trayer-srg.SlackBuild b/desktop/trayer-srg/trayer-srg.SlackBuild
index d91e9ac80e..8050f2d3bd 100644
--- a/desktop/trayer-srg/trayer-srg.SlackBuild
+++ b/desktop/trayer-srg/trayer-srg.SlackBuild
@@ -22,17 +22,19 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Now maintained by B. Watson (yalhcru@gmail.com)
+
PRGNAM=trayer-srg
VERSION=${VERSION:-git_r3478b35}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
- case "$(uname -m)" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m) ;;
- esac
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
fi
CWD=$(pwd)
@@ -65,10 +67,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -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 {} \;
CFLAGS="$SLKCFLAGS" make # This will also strip the executable
@@ -80,9 +82,7 @@ mkdir -p $PKG/usr/man/man1
gzip -c man/trayer.1 > $PKG/usr/man/man1/trayer.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- CHANGELOG COPYING CREDITS INSTALL README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG COPYING CREDITS INSTALL README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install