summaryrefslogtreecommitdiff
path: root/community/sigil
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
committerroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
commitdee9f17b595ea903a982d31d1124b302bb17e2ff (patch)
tree295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/sigil
parent380530d02a5449fdef97b63b394a6743c3de0092 (diff)
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/sigil')
-rw-r--r--community/sigil/PKGBUILD49
-rw-r--r--community/sigil/sigil.install12
2 files changed, 0 insertions, 61 deletions
diff --git a/community/sigil/PKGBUILD b/community/sigil/PKGBUILD
deleted file mode 100644
index dfc11299f..000000000
--- a/community/sigil/PKGBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id: PKGBUILD 94050 2013-07-13 12:37:15Z svenstaro $
-# Maintainer: Giovanni Scafora <giovanni@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"
-}
diff --git a/community/sigil/sigil.install b/community/sigil/sigil.install
deleted file mode 100644
index ec506fa93..000000000
--- a/community/sigil/sigil.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- update-desktop-database -q
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}