diff options
Diffstat (limited to 'community/sigil/PKGBUILD')
-rw-r--r-- | community/sigil/PKGBUILD | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/community/sigil/PKGBUILD b/community/sigil/PKGBUILD index a2bc241ca..d993271e7 100644 --- a/community/sigil/PKGBUILD +++ b/community/sigil/PKGBUILD @@ -1,24 +1,24 @@ -# $Id: PKGBUILD 66696 2012-02-27 15:03:06Z giovanni $ +# $Id: PKGBUILD 73075 2012-06-30 11:58:09Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Larry Hajali <larryhaja [at] gmail [dot] com> pkgname=sigil -pkgver=0.5.3 +pkgver=0.5.902 pkgrel=1 -pkgdesc="A WYSIWYG ebook editor" +pkgdesc="WYSIWYG ebook editor" arch=('i686' 'x86_64') url="http://code.google.com/p/sigil/" license=('GPL3') depends=('qtwebkit') -makedepends=('cmake') +makedepends=('cmake' 'gendesk') install=sigil.install -source=("http://sigil.googlecode.com/files/Sigil-${pkgver}-Code.zip" - "${pkgname}.desktop") -md5sums=('83c1a5608a2ec59a83c86ccc1429b5cc' - 'fef6aa492af487ccccd6b133635cee5a') +source=("http://sigil.googlecode.com/files/Sigil-${pkgver}-Code.zip") +md5sums=('7e44ce266fc2539888edd0e1ee66b05d') build() { cd "${srcdir}" + gendesk -n + mkdir build cd build cmake -G "Unix Makefiles" \ @@ -36,10 +36,13 @@ package() { make install DESTDIR="${pkgdir}" install -d -m 0755 "${pkgdir}"/usr/share/applications - install -m 0644 "${srcdir}"/${pkgname}.desktop "${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" } |