diff options
Diffstat (limited to 'audio/kradio/kradio.SlackBuild')
-rw-r--r-- | audio/kradio/kradio.SlackBuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/audio/kradio/kradio.SlackBuild b/audio/kradio/kradio.SlackBuild index 50ed5f7e92480..36e402c250c89 100644 --- a/audio/kradio/kradio.SlackBuild +++ b/audio/kradio/kradio.SlackBuild @@ -24,14 +24,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=kradio -SRCNAM=kradio4 -VERSION=${VERSION:-4.0.8} +VERSION=${VERSION:-5.0.0_beta1} +SRCVER=$(echo $VERSION | tr _ - ) BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -61,9 +61,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2 -cd $SRCNAM-$VERSION +rm -rf ${PRGNAM}5-$SRCVER +tar xvf $CWD/${PRGNAM}5-$SRCVER.tar.bz2 +cd ${PRGNAM}5-$SRCVER chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -92,7 +92,7 @@ install -m 0644 debian/*.1 $PKG/usr/man/man1 gzip -9 $PKG/usr/man/man1/*.? mkdir -p $PKG/usr/doc -mv $PKG/usr/share/doc/kradio4 $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/usr/share/doc/${PRGNAM}5 $PKG/usr/doc/$PRGNAM-$VERSION rm -rf $PKG/usr/share/doc cp -a dot-lircrc.example $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |