Date: Thursday, December 1, 2011 @ 10:58:24 Author: giovanni Revision: 143999
upgpkg: xchm 1.20-2 rebuild Modified: xchm/trunk/PKGBUILD ----------+ PKGBUILD | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2011-12-01 15:53:42 UTC (rev 143998) +++ PKGBUILD 2011-12-01 15:58:24 UTC (rev 143999) @@ -3,22 +3,23 @@ pkgname=xchm pkgver=1.20 -pkgrel=1 +pkgrel=2 pkgdesc="A cross-platform GUI front-end to chmlib" arch=('i686' 'x86_64') -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 make @@ -26,6 +27,7 @@ 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"