diff options
Diffstat (limited to 'community/chmsee/PKGBUILD')
-rw-r--r-- | community/chmsee/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/chmsee/PKGBUILD b/community/chmsee/PKGBUILD new file mode 100644 index 000000000..c23b703de --- /dev/null +++ b/community/chmsee/PKGBUILD @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer : Laurent Carlier <lordheavym@gmail.com> +# Contributor: dionydonny <dionydonny@gmail.com> +# Contributor: Ermanno <erm67@yahoo.it> + +pkgname=chmsee +pkgver=1.3.0 +pkgrel=2 +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' 'libglade' 'chmlib') +makedepends=('intltool' 'cmake') +source=(http://chmsee.googlecode.com/files/$pkgname-$pkgver.tar.gz) +md5sums=('5ba68ccee32ba782486badc025842ccf') + +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 +} |