aboutsummaryrefslogtreecommitdiff
path: root/desktop/trayer-srg/trayer-srg.SlackBuild
diff options
context:
space:
mode:
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 d91e9ac80eaac..8050f2d3bd8c3 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