PKGBUILDs/extra/xchm/PKGBUILD

23 lines
708 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 40075 2009-05-26 23:50:41Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
pkgname=xchm
pkgver=1.17
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')
source=(http://downloads.sourceforge.net/sourceforge/xchm/${pkgname}-${pkgver}.tar.gz xchm.desktop)
md5sums=('4f34bc046fcc59f1af590d8eb1e08934'
'58b60b388189d104923a9150c037920d')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr
make || return 1
make DESTDIR=${pkgdir} install || return 1
install -D -m644 ../xchm.desktop ${pkgdir}/usr/share/applications/xchm.desktop
}