From 65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Fri, 27 Dec 2013 23:55:53 +0000 Subject: Fri Dec 27 23:54:04 UTC 2013 --- community/xchm/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 community/xchm/PKGBUILD (limited to 'community/xchm/PKGBUILD') diff --git a/community/xchm/PKGBUILD b/community/xchm/PKGBUILD new file mode 100644 index 000000000..03e29537a --- /dev/null +++ b/community/xchm/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 102193 2013-12-06 12:52:51Z giovanni $ +# Maintainer: Giovanni Scafora + +pkgname=xchm +pkgver=1.23 +pkgrel=1 +pkgdesc="A cross-platform GUI front-end to chmlib" +arch=('i686' 'x86_64') +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') +md5sums=('486d029bd81071a2d04e7181909b1602' + '31fb9692b9ee9f2a205f58b9ff4bc4fe' + '4102b0a393f5c60236143cc034664dd0') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" + ./configure --prefix=/usr + make +} + +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" +} -- cgit v1.2.3-54-g00ecf