mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
34 lines
1 KiB
Bash
34 lines
1 KiB
Bash
# $Id: PKGBUILD 344 2009-07-26 13:58:29Z jlichtblau $
|
|
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
|
|
# Contributor: Alexander Bogdanov <andorn@gmail.com>
|
|
|
|
pkgname=kchmviewer
|
|
pkgver=4.1
|
|
pkgrel=1
|
|
pkgdesc="A .chm files (MS HTML help file format) viewer"
|
|
arch=('i686' 'x86_64')
|
|
url="http://kchmviewer.sourceforge.net/"
|
|
license=('GPL')
|
|
depends=('kdelibs' 'chmlib')
|
|
makedepends=('automoc4')
|
|
options=('libtool')
|
|
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
|
|
#source=(http://www.kchmviewer.net/files/$pkgname-$pkgver.tar.gz)
|
|
|
|
md5sums=('d64b99f63e8cda78c4c2ab8595925151')
|
|
|
|
build() {
|
|
cd ${srcdir}/$pkgname-$pkgver
|
|
|
|
cmake . -DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
#fixing icon path FS#12349
|
|
mv ${pkgdir}/usr/share/icons/crystalsvg ${pkgdir}/usr/share/icons/hicolor
|
|
|
|
#msits.protocol file provided by kdegraphics package
|
|
rm -rf ${pkgdir}/usr/share/kde4 || retur 1
|
|
#kio_msits.so file provided by kdegraphics package - FS#14376
|
|
rm -rf ${pkgdir}/usr/lib
|
|
}
|