summaryrefslogtreecommitdiff
path: root/community/chmsee/PKGBUILD
blob: aeb5968f6e569ae6d27ce093a9ba8d9801423f63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id$
# Maintainer : Laurent Carlier <lordheavym@gmail.com>
# Contributor: dionydonny <dionydonny@gmail.com>
# Contributor: Ermanno <erm67@yahoo.it>

pkgname=chmsee
pkgver=1.3.1.1
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="A chm (MS HTML help file format) viewer based on xulrunner."
url="http://chmsee.googlecode.com/"
license="GPL"
depends=('xulrunner>=2.0' 'libglade' 'chmlib')
makedepends=('intltool' 'cmake')
source=(http://chmsee.googlecode.com/files/$pkgname-$pkgver.tar.gz)
md5sums=('7c226e6f518284a040ad3b9433d5e218')

build() {
  cd ${srcdir}/$pkgname-$pkgver

  mkdir build
  cd build

  cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  make
}

package() {
  cd ${srcdir}/$pkgname-$pkgver/build

  make DESTDIR="$pkgdir" install
}