[arch-commits] Commit in sigil/repos (6 files)

Andrea Scarpino andrea at nymeria.archlinux.org
Sun Feb 24 20:09:38 UTC 2013


    Date: Sunday, February 24, 2013 @ 21:09:38
  Author: andrea
Revision: 84816

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  sigil/repos/staging-i686/
  sigil/repos/staging-i686/PKGBUILD
    (from rev 84815, sigil/trunk/PKGBUILD)
  sigil/repos/staging-i686/sigil.install
    (from rev 84815, sigil/trunk/sigil.install)
  sigil/repos/staging-x86_64/
  sigil/repos/staging-x86_64/PKGBUILD
    (from rev 84815, sigil/trunk/PKGBUILD)
  sigil/repos/staging-x86_64/sigil.install
    (from rev 84815, sigil/trunk/sigil.install)

------------------------------+
 staging-i686/PKGBUILD        |   49 +++++++++++++++++++++++++++++++++++++++++
 staging-i686/sigil.install   |   12 ++++++++++
 staging-x86_64/PKGBUILD      |   49 +++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/sigil.install |   12 ++++++++++
 4 files changed, 122 insertions(+)

Copied: sigil/repos/staging-i686/PKGBUILD (from rev 84815, sigil/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2013-02-24 20:09:38 UTC (rev 84816)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
+
+pkgname=sigil
+pkgver=0.7.0
+pkgrel=2
+pkgdesc="WYSIWYG ebook editor"
+arch=('i686' 'x86_64') 
+url="http://code.google.com/p/sigil/"
+license=('GPL3')
+depends=('qt5-webkit' 'boost-libs')
+makedepends=('qt5-addons' 'qt5-declarative' 'qt5-tools' 'cmake' 'gendesk' 'boost')
+install=sigil.install
+source=("http://sigil.googlecode.com/files/Sigil-${pkgver}-Code.zip")
+md5sums=('06ba5ace506e01adf4a37534fa276cec')
+
+build() {
+  cd "${srcdir}"
+  gendesk -n
+
+  mkdir build
+  cd build
+
+  cmake -G "Unix Makefiles" \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
+    -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_SKIP_RPATH=ON ..
+
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make install DESTDIR="${pkgdir}"
+
+  install -d -m 0755 "${pkgdir}"/usr/share/applications
+  install -m 0644 "${srcdir}"/${pkgname}.desktop \
+    "${pkgdir}"/usr/share/applications
+
+  for _pic in 16 32 48 128 256; do
+    install -D -m 0644 ../src/Sigil/Resource_Files/icon/app_icon_${_pic}.png \
+      "${pkgdir}"/usr/share/icons/hicolor/${_pic}x${_pic}/apps/${pkgname}.png
+  done
+  install -Dm644 ../src/Sigil/Resource_Files/icon/app_icon_128.png \
+    "$pkgdir/usr/share/pixmaps/$pkgname.png"
+}

Copied: sigil/repos/staging-i686/sigil.install (from rev 84815, sigil/trunk/sigil.install)
===================================================================
--- staging-i686/sigil.install	                        (rev 0)
+++ staging-i686/sigil.install	2013-02-24 20:09:38 UTC (rev 84816)
@@ -0,0 +1,12 @@
+post_install() {
+  update-desktop-database -q
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Copied: sigil/repos/staging-x86_64/PKGBUILD (from rev 84815, sigil/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2013-02-24 20:09:38 UTC (rev 84816)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
+
+pkgname=sigil
+pkgver=0.7.0
+pkgrel=2
+pkgdesc="WYSIWYG ebook editor"
+arch=('i686' 'x86_64') 
+url="http://code.google.com/p/sigil/"
+license=('GPL3')
+depends=('qt5-webkit' 'boost-libs')
+makedepends=('qt5-addons' 'qt5-declarative' 'qt5-tools' 'cmake' 'gendesk' 'boost')
+install=sigil.install
+source=("http://sigil.googlecode.com/files/Sigil-${pkgver}-Code.zip")
+md5sums=('06ba5ace506e01adf4a37534fa276cec')
+
+build() {
+  cd "${srcdir}"
+  gendesk -n
+
+  mkdir build
+  cd build
+
+  cmake -G "Unix Makefiles" \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
+    -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_SKIP_RPATH=ON ..
+
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make install DESTDIR="${pkgdir}"
+
+  install -d -m 0755 "${pkgdir}"/usr/share/applications
+  install -m 0644 "${srcdir}"/${pkgname}.desktop \
+    "${pkgdir}"/usr/share/applications
+
+  for _pic in 16 32 48 128 256; do
+    install -D -m 0644 ../src/Sigil/Resource_Files/icon/app_icon_${_pic}.png \
+      "${pkgdir}"/usr/share/icons/hicolor/${_pic}x${_pic}/apps/${pkgname}.png
+  done
+  install -Dm644 ../src/Sigil/Resource_Files/icon/app_icon_128.png \
+    "$pkgdir/usr/share/pixmaps/$pkgname.png"
+}

Copied: sigil/repos/staging-x86_64/sigil.install (from rev 84815, sigil/trunk/sigil.install)
===================================================================
--- staging-x86_64/sigil.install	                        (rev 0)
+++ staging-x86_64/sigil.install	2013-02-24 20:09:38 UTC (rev 84816)
@@ -0,0 +1,12 @@
+post_install() {
+  update-desktop-database -q
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}




More information about the arch-commits mailing list