summaryrefslogtreecommitdiff
path: root/community/sigil
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-02 00:01:20 +0000
committerroot <root@rshg054.dnsready.net>2012-07-02 00:01:20 +0000
commit9d209f25af63a35774000e87df4e188057f71b2f (patch)
treede003993674c9d9e51d40ea831588cd516c01a11 /community/sigil
parent55f2d1ab0ab1bd2f7c8c7c5cefeb45f7c457a5d9 (diff)
Mon Jul 2 00:01:20 UTC 2012
Diffstat (limited to 'community/sigil')
-rw-r--r--community/sigil/PKGBUILD21
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"
}