[Lunar-commits] <moonbase> Sigil: Version bump to 0.4.2, adding a PRE_BUILD and adjusting the BUILD.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Thu Oct 6 10:55:40 CEST 2011


commit 7cefa4d9ebae14019ebe19c1e62828daa6a86c73
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Thu Oct 6 04:55:40 2011 -0400

    Sigil: Version bump to 0.4.2, adding a PRE_BUILD and adjusting the BUILD.
---
 qt4-apps/Sigil/BUILD     |   25 ++-----------------------
 qt4-apps/Sigil/DETAILS   |   11 +++++------
 qt4-apps/Sigil/PRE_BUILD |    1 +
 3 files changed, 8 insertions(+), 29 deletions(-)

diff --git a/qt4-apps/Sigil/BUILD b/qt4-apps/Sigil/BUILD
index 3cbc2ce..e6c46c4 100644
--- a/qt4-apps/Sigil/BUILD
+++ b/qt4-apps/Sigil/BUILD
@@ -1,28 +1,7 @@
 (
 
-  OOTB_DIR="$SOURCE_DIRECTORY/$MODULE-build" &&
+  . /etc/profile.d/qt4.rc &&
 
-  mkdir $OOTB_DIR &&
-  cd $OOTB_DIR    &&
+  default_cmake_build
 
-  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
-                           -DCMAKE_BUILD_TYPE=RELEASE             &&
-
-  default_make &&
-
-
-  install -m 644 $SOURCE_DIRECTORY/src/Sigil/Resource_Files/icon/sgf.ico /usr/share/pixmaps/ &&
-
-  # Desktop menu entry
-  cat > ${MODULE}.desktop << EOF  &&
-[Desktop Entry]
-Type=Application
-Name=Sigil
-Comment=qt4 WYSIWYG ebook editor
-Exec=/opt/lunar/qt/4/bin/sigil
-Icon=/usr/share/pixmaps/sgf.ico
-Categories=Qt;KDE;Office;
-EOF
-
-  install -D -m644 ${MODULE}.desktop /usr/share/applications/${MODULE}.desktop
 ) > $C_FIFO 2>&1
diff --git a/qt4-apps/Sigil/DETAILS b/qt4-apps/Sigil/DETAILS
index 94a6301..d209d78 100644
--- a/qt4-apps/Sigil/DETAILS
+++ b/qt4-apps/Sigil/DETAILS
@@ -1,14 +1,13 @@
           MODULE=Sigil
-         VERSION=0.3.4
-           MINOR=Code
-          SOURCE=$MODULE-$VERSION-$MINOR.zip
+         VERSION=0.4.2-Code
+          SOURCE=$MODULE-$VERSION.zip
       SOURCE_URL=http://sigil.googlecode.com/files/
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION-$MINOR
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
    MODULE_PREFIX=${QT4_PREFIX:-/usr}
-      SOURCE_VFY=sha1:50e90f067465336674364d85456dc2c283d0d75f
+      SOURCE_VFY=sha1:67464f521c1b11641812b6959549a842546b4f8d
         WEB_SITE=http://code.google.com/p/sigil/
          ENTERED=20091107
-         UPDATED=20110209
+         UPDATED=20111006
            SHORT="qt4 WYSIWYG ebook editor"
 
 cat << EOF
diff --git a/qt4-apps/Sigil/PRE_BUILD b/qt4-apps/Sigil/PRE_BUILD
new file mode 100644
index 0000000..308d9e7
--- /dev/null
+++ b/qt4-apps/Sigil/PRE_BUILD
@@ -0,0 +1 @@
+unzip -oa $SOURCE_CACHE/$SOURCE -d $BUILD_DIRECTORY/$MODULE-$VERSION


More information about the Lunar-commits mailing list