desktop/lumina: Updated for version 1.0.0-p1.

Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
This commit is contained in:
Ryan P.C. McQuen 2016-08-09 19:46:33 -07:00 committed by Willy Sudiarto Raharjo
parent c51ca0bfab
commit 0fbf4a805d
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 14 additions and 14 deletions

View file

@ -25,14 +25,14 @@
# not, see <https://www.gnu.org/licenses/>. # not, see <https://www.gnu.org/licenses/>.
PRGNAM=lumina PRGNAM=lumina
VERSION=${VERSION:-0.9.1} VERSION=${VERSION:-1.0.0-p1}
SRCVERSION=${SRCVERSION:-} SRCVERSION="`echo $VERSION | cut -d'-' -f1`"
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i586 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
@ -43,8 +43,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686" SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -62,13 +62,13 @@ set -eu
rm -rf $PKG rm -rf $PKG
mkdir -pv $TMP $PKG $OUTPUT mkdir -pv $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PRGNAM-$VERSION-Release$SRCVERSION rm -rf $PRGNAM-$SRCVERSION-Release*
if [ -e $CWD/v$VERSION-Release$SRCVERSION.tar.gz ]; then if [ -e $CWD/v$SRCVERSION-Release*.tar.gz ]; then
tar xvf $CWD/v$VERSION-Release$SRCVERSION.tar.gz tar xvf $CWD/v$SRCVERSION-Release*.tar.gz
else else
tar xvf $CWD/$PRGNAM-$VERSION-Release$SRCVERSION.tar.gz tar xvf $CWD/$PRGNAM-$SRCVERSION-Release*.tar.gz
fi fi
cd $PRGNAM-$VERSION-Release$SRCVERSION cd $PRGNAM-$SRCVERSION-Release*
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -83,7 +83,7 @@ qmake-qt5 \
QMAKE_CXXFLAGS="$SLKCFLAGS" \ QMAKE_CXXFLAGS="$SLKCFLAGS" \
QT5LIBDIR=/usr/lib${LIBDIRSUFFIX}/qt5 QT5LIBDIR=/usr/lib${LIBDIRSUFFIX}/qt5
make -j1 make
make install \ make install \
INSTALL_ROOT=$PKG \ INSTALL_ROOT=$PKG \
DESTDIR=$PKG DESTDIR=$PKG

View file

@ -1,8 +1,8 @@
PRGNAM="lumina" PRGNAM="lumina"
VERSION="0.9.1" VERSION="1.0.0-p1"
HOMEPAGE="http://lumina-desktop.org/" HOMEPAGE="http://lumina-desktop.org/"
DOWNLOAD="https://github.com/trueos/lumina/archive/v0.9.1-Release.tar.gz" DOWNLOAD="https://github.com/trueos/lumina/archive/v1.0.0-Release-p1.tar.gz"
MD5SUM="8316af309800a728f1ffaad297d13793" MD5SUM="37c4f2d5d87f28f05db82678a7630ac9"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="qt5" REQUIRES="qt5"