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/>.
PRGNAM=lumina
VERSION=${VERSION:-0.9.1}
SRCVERSION=${SRCVERSION:-}
VERSION=${VERSION:-1.0.0-p1}
SRCVERSION="`echo $VERSION | cut -d'-' -f1`"
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
@ -43,8 +43,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"
@ -62,13 +62,13 @@ set -eu
rm -rf $PKG
mkdir -pv $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION-Release$SRCVERSION
if [ -e $CWD/v$VERSION-Release$SRCVERSION.tar.gz ]; then
tar xvf $CWD/v$VERSION-Release$SRCVERSION.tar.gz
rm -rf $PRGNAM-$SRCVERSION-Release*
if [ -e $CWD/v$SRCVERSION-Release*.tar.gz ]; then
tar xvf $CWD/v$SRCVERSION-Release*.tar.gz
else
tar xvf $CWD/$PRGNAM-$VERSION-Release$SRCVERSION.tar.gz
tar xvf $CWD/$PRGNAM-$SRCVERSION-Release*.tar.gz
fi
cd $PRGNAM-$VERSION-Release$SRCVERSION
cd $PRGNAM-$SRCVERSION-Release*
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -83,7 +83,7 @@ qmake-qt5 \
QMAKE_CXXFLAGS="$SLKCFLAGS" \
QT5LIBDIR=/usr/lib${LIBDIRSUFFIX}/qt5
make -j1
make
make install \
INSTALL_ROOT=$PKG \
DESTDIR=$PKG

View file

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