desktop/trayer-srg: New maintainer.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2014-12-09 08:11:13 +07:00 committed by Willy Sudiarto Raharjo
parent 918703d130
commit c81a6bbb71
2 changed files with 14 additions and 14 deletions

View file

@ -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

View file

@ -6,5 +6,5 @@ MD5SUM="29bb17a391d52d2dbbcacdda1acb6a38"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Bojan Popovic"
EMAIL="bocke@slackware-srbija.org"
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"