diff options
Diffstat (limited to 'community-staging/sigil')
-rw-r--r-- | community-staging/sigil/PKGBUILD | 48 | ||||
-rw-r--r-- | community-staging/sigil/sigil.install | 12 |
2 files changed, 0 insertions, 60 deletions
diff --git a/community-staging/sigil/PKGBUILD b/community-staging/sigil/PKGBUILD deleted file mode 100644 index 339aee5f3..000000000 --- a/community-staging/sigil/PKGBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# $Id: PKGBUILD 75700 2012-08-29 08:34:34Z spupykin $ -# Maintainer: Giovanni Scafora <giovanni@archlinux.org> -# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com> - -pkgname=sigil -pkgver=0.5.3 -pkgrel=1 -pkgdesc="WYSIWYG ebook editor" -arch=('i686' 'x86_64') -url="http://code.google.com/p/sigil/" -license=('GPL3') -depends=('qtwebkit' 'boost-libs') -makedepends=('cmake' 'gendesk' 'boost') -install=sigil.install -source=("http://sigil.googlecode.com/files/Sigil-${pkgver}-Code.zip") -md5sums=('83c1a5608a2ec59a83c86ccc1429b5cc') - -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" -} diff --git a/community-staging/sigil/sigil.install b/community-staging/sigil/sigil.install deleted file mode 100644 index ec506fa93..000000000 --- a/community-staging/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 -} |