diff options
Diffstat (limited to 'extra/xchm/PKGBUILD')
-rw-r--r-- | extra/xchm/PKGBUILD | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/extra/xchm/PKGBUILD b/extra/xchm/PKGBUILD index 613d13d0f..569da6710 100644 --- a/extra/xchm/PKGBUILD +++ b/extra/xchm/PKGBUILD @@ -1,24 +1,25 @@ -# $Id: PKGBUILD 122945 2011-05-07 11:59:58Z giovanni $ +# $Id: PKGBUILD 144000 2011-12-01 15:58:58Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> pkgname=xchm pkgver=1.20 -pkgrel=1 +pkgrel=2 pkgdesc="A cross-platform GUI front-end to chmlib" arch=('i686' 'x86_64' 'mips64el') -url="http://xchm.sourceforge.net" +url="http://xchm.sourceforge.net/" license=('GPL') depends=('chmlib' 'wxgtk' 'desktop-file-utils') install=xchm.install -source=(http://downloads.sourceforge.net/sourceforge/xchm/${pkgname}-${pkgver}.tar.gz - xchm.desktop - xchm.xml) +source=("http://downloads.sourceforge.net/sourceforge/xchm/${pkgname}-${pkgver}.tar.gz" + 'xchm.desktop' + 'xchm.xml') md5sums=('85943645d20af536704a20b58ebd5849' '31fb9692b9ee9f2a205f58b9ff4bc4fe' '4102b0a393f5c60236143cc034664dd0') build() { cd "${srcdir}/${pkgname}-${pkgver}" + export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" ./configure --prefix=/usr \ --build=$CHOST \ @@ -28,6 +29,7 @@ build() { package() { cd "${srcdir}/${pkgname}-${pkgver}" + 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" |