summaryrefslogtreecommitdiff
path: root/extra/xchm
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-28 22:32:07 +0000
committerroot <root@rshg047.dnsready.net>2011-04-28 22:32:07 +0000
commit19f42937be8f6619a85663cb71e24c05b7e8b6d2 (patch)
treee7d059bcc0b5c309ff565da9be68ade7f29ef5fc /extra/xchm
parent8784d3134c1d4b4c02d705259ae2ebd768c778fd (diff)
Thu Apr 28 22:32:07 UTC 2011
Diffstat (limited to 'extra/xchm')
-rw-r--r--extra/xchm/PKGBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/extra/xchm/PKGBUILD b/extra/xchm/PKGBUILD
index 809e0ed05..c94f86115 100644
--- a/extra/xchm/PKGBUILD
+++ b/extra/xchm/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 108735 2011-02-02 18:31:26Z giovanni $
+# $Id: PKGBUILD 120950 2011-04-27 19:00:34Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
pkgname=xchm
-pkgver=1.18
+pkgver=1.19
pkgrel=1
pkgdesc="A cross-platform GUI front-end to chmlib"
arch=('i686' 'x86_64')
@@ -13,7 +13,7 @@ install=xchm.install
source=(http://downloads.sourceforge.net/sourceforge/xchm/${pkgname}-${pkgver}.tar.gz
xchm.desktop
xchm.xml)
-md5sums=('07d7a910b3216301a002be5630c71866'
+md5sums=('c9d65971801e044d51476f57e91909fc'
'31fb9692b9ee9f2a205f58b9ff4bc4fe'
'4102b0a393f5c60236143cc034664dd0')
@@ -21,12 +21,12 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
./configure --prefix=/usr
- make || return 1
+ make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR=${pkgdir} install || return 1
- install -D -m644 ${srcdir}/xchm.desktop "${pkgdir}/usr/share/applications/xchm.desktop" || return 1
- install -D -m644 ${srcdir}/xchm.xml "${pkgdir}/usr/share/mime/packages/xchm.xml" || return 1
+ make DESTDIR=${pkgdir} install
+ install -D -m644 ${srcdir}/xchm.desktop "${pkgdir}/usr/share/applications/xchm.desktop"
+ install -D -m644 ${srcdir}/xchm.xml "${pkgdir}/usr/share/mime/packages/xchm.xml"
}