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

Felix Yan fyan at archlinux.org
Thu Nov 6 05:24:19 UTC 2014


    Date: Thursday, November 6, 2014 @ 06:24:19
  Author: fyan
Revision: 122020

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 122019, sigil/trunk/PKGBUILD)
  sigil/repos/community-staging-i686/sigil.install
    (from rev 122019, sigil/trunk/sigil.install)
  sigil/repos/community-staging-x86_64/
  sigil/repos/community-staging-x86_64/PKGBUILD
    (from rev 122019, sigil/trunk/PKGBUILD)
  sigil/repos/community-staging-x86_64/sigil.install
    (from rev 122019, 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 122019, sigil/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2014-11-06 05:24:19 UTC (rev 122020)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
+
+pkgname=sigil
+pkgver=0.8.1
+pkgrel=2
+pkgdesc="WYSIWYG ebook editor"
+arch=('i686' 'x86_64')
+url="https://github.com/user-none/Sigil/"
+license=('GPL3')
+depends=('qt5-webkit' 'boost-libs')
+makedepends=('qt5-tools' 'qt5-svg' 'cmake' 'gendesk' 'boost')
+install=sigil.install
+source=("https://github.com/user-none/Sigil/releases/download/${pkgver}/Sigil-${pkgver}-Code.zip")
+md5sums=('8d5d2083254c9dda0462e222aeebd966')
+
+build() {
+  cd "${srcdir}/Sigil-${pkgver}"
+  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}"/Sigil-${pkgver}/build
+  make install DESTDIR="${pkgdir}"
+
+  install -d -m 0755 "${pkgdir}"/usr/share/applications
+  install -m 0644 "${srcdir}"/Sigil-${pkgver}/${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 122019, sigil/trunk/sigil.install)
===================================================================
--- community-staging-i686/sigil.install	                        (rev 0)
+++ community-staging-i686/sigil.install	2014-11-06 05:24:19 UTC (rev 122020)
@@ -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 122019, sigil/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2014-11-06 05:24:19 UTC (rev 122020)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
+
+pkgname=sigil
+pkgver=0.8.1
+pkgrel=2
+pkgdesc="WYSIWYG ebook editor"
+arch=('i686' 'x86_64')
+url="https://github.com/user-none/Sigil/"
+license=('GPL3')
+depends=('qt5-webkit' 'boost-libs')
+makedepends=('qt5-tools' 'qt5-svg' 'cmake' 'gendesk' 'boost')
+install=sigil.install
+source=("https://github.com/user-none/Sigil/releases/download/${pkgver}/Sigil-${pkgver}-Code.zip")
+md5sums=('8d5d2083254c9dda0462e222aeebd966')
+
+build() {
+  cd "${srcdir}/Sigil-${pkgver}"
+  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}"/Sigil-${pkgver}/build
+  make install DESTDIR="${pkgdir}"
+
+  install -d -m 0755 "${pkgdir}"/usr/share/applications
+  install -m 0644 "${srcdir}"/Sigil-${pkgver}/${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 122019, sigil/trunk/sigil.install)
===================================================================
--- community-staging-x86_64/sigil.install	                        (rev 0)
+++ community-staging-x86_64/sigil.install	2014-11-06 05:24:19 UTC (rev 122020)
@@ -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