summaryrefslogtreecommitdiff
path: root/community/sigil/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-27 23:14:39 +0000
committerroot <root@rshg054.dnsready.net>2011-08-27 23:14:39 +0000
commita4c358009dd89183b4124505c694ea7f5fcdbeec (patch)
tree2b157b1e89ca7df45bd35f6a72c39b26af558827 /community/sigil/PKGBUILD
parentd7d02f7c02a5c761e8a64df49598ae976640e450 (diff)
Sat Aug 27 23:14:39 UTC 2011
Diffstat (limited to 'community/sigil/PKGBUILD')
-rw-r--r--community/sigil/PKGBUILD18
1 files changed, 7 insertions, 11 deletions
diff --git a/community/sigil/PKGBUILD b/community/sigil/PKGBUILD
index 299b12a65..d1cb2bd19 100644
--- a/community/sigil/PKGBUILD
+++ b/community/sigil/PKGBUILD
@@ -1,10 +1,9 @@
-# $Id: PKGBUILD 54266 2011-08-16 00:37:12Z giovanni $
+# $Id: PKGBUILD 54816 2011-08-26 15:37:25Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
pkgname=sigil
-_pkgname=Sigil
-pkgver=0.4.0
+pkgver=0.4.1
pkgrel=1
pkgdesc="A WYSIWYG ebook editor"
arch=('i686' 'x86_64')
@@ -13,14 +12,12 @@ license=('GPL3')
depends=('qt')
makedepends=('cmake')
install=sigil.install
-source=(http://${pkgname}.googlecode.com/files/${_pkgname}-${pkgver}-Code.zip
+source=(http://sigil.googlecode.com/files/Sigil-${pkgver}-Code.zip
${pkgname}.desktop)
-md5sums=('b36b8178446647f7dd320a6b335a40ba'
+md5sums=('b0ae292aea366fe6eb3f3392232ba9a6'
'fef6aa492af487ccccd6b133635cee5a')
build() {
- cd ${_pkgname}-${pkgver}-Code
-
mkdir build
cd build
cmake -G "Unix Makefiles" \
@@ -28,14 +25,13 @@ build() {
-DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
-DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \
-DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_SKIP_RPATH=ON .. || return 1
+ -DCMAKE_SKIP_RPATH=ON ..
- make || return 1
+ make
}
package() {
- cd ${_pkgname}-${pkgver}-Code/build
-
+ cd build
make install DESTDIR="${pkgdir}"
install -d -m 0755 "${pkgdir}"/usr/share/applications