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

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Wed Jul 10 10:25:18 UTC 2013


    Date: Wednesday, July 10, 2013 @ 12:25:18
  Author: bpiotrowski
Revision: 93797

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

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

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

Copied: sigil/repos/community-staging-i686/PKGBUILD (from rev 93796, sigil/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2013-07-10 10:25:18 UTC (rev 93797)
@@ -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.2
+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-tools' 'qt5-svg' 'cmake' 'gendesk' 'boost')
+install=sigil.install
+source=("http://sigil.googlecode.com/files/Sigil-${pkgver}-Code.zip")
+md5sums=('540745983db57a2150cc2f4057455b19')
+
+build() {
+  cd "${srcdir}"
+  gendesk -n "$startdir"/PKGBUILD
+
+  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/community-staging-i686/sigil.install (from rev 93796, sigil/trunk/sigil.install)
===================================================================
--- community-staging-i686/sigil.install	                        (rev 0)
+++ community-staging-i686/sigil.install	2013-07-10 10:25:18 UTC (rev 93797)
@@ -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/community-staging-x86_64/PKGBUILD (from rev 93796, sigil/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2013-07-10 10:25:18 UTC (rev 93797)
@@ -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.2
+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-tools' 'qt5-svg' 'cmake' 'gendesk' 'boost')
+install=sigil.install
+source=("http://sigil.googlecode.com/files/Sigil-${pkgver}-Code.zip")
+md5sums=('540745983db57a2150cc2f4057455b19')
+
+build() {
+  cd "${srcdir}"
+  gendesk -n "$startdir"/PKGBUILD
+
+  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/community-staging-x86_64/sigil.install (from rev 93796, sigil/trunk/sigil.install)
===================================================================
--- community-staging-x86_64/sigil.install	                        (rev 0)
+++ community-staging-x86_64/sigil.install	2013-07-10 10:25:18 UTC (rev 93797)
@@ -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