desktop/wmdate: Updated for version 0.7

This commit is contained in:
Cezary M. Kruk 2010-05-13 00:23:26 +02:00 committed by Robby Workman
parent eb78a5075f
commit 26e5e1865a
2 changed files with 8 additions and 3 deletions

View file

@ -18,10 +18,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi
set -e
@ -41,7 +44,7 @@ find . \
cat $CWD/wmdate.man > wmdate.man
xmkmf
make
make CXXDEBUGFLAGS:="$SLKCFLAGS"
make install DESTDIR=$PKG
strip --strip-unneeded $PKG/usr/bin/wmdate
@ -58,4 +61,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -1,8 +1,10 @@
PRGNAM="wmDate"
PRGNAM="wmdate"
VERSION="0.7"
HOMEPAGE="http://web.cs.mun.ca/~gstarkes/wmaker/dockapps/time.html"
DOWNLOAD="http://web.cs.mun.ca/~gstarkes/wmaker/dockapps/files/wmdate-0.7.tar.gz"
MD5SUM="967a20599124da13c876d12cfe08e3a5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Cezary M. Kruk"
EMAIL="c.kruk@bigfoot.com"
APPROVED="rworkman"