updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / kfax / PKGBUILD
bloba5bd45b08f5e12b7f121477379e9f33451e937bd
1 # Contributor: Andrea Scarpino <andrea@archlinux.org>
2 # Contributor: Pierre Schmitz <pierre@archlinux.de>
4 pkgname=kfax
5 pkgver=3.3.6
6 _kdever=4.2.2
7 pkgrel=1
8 pkgdesc="A fax file viewer for the KDE project"
9 arch=('i686' 'x86_64')
10 url='http://www.kde.org'
11 license=('GPL' 'LGPL')
12 depends=('kdebase-runtime')
13 makedepends=('pkgconfig' 'cmake' 'automoc4')
14 options=('docs')
15 install=${pkgname}.install
16 source=("http://download.kde.org/stable/${_kdever}/extragear/${pkgname}-${pkgver}.tar.bz2")
17 md5sums=('043861bbac985938587a564f7a3a3896')
19 build() {
20   cd ${srcdir}
21   mkdir build
22   cd build
23   cmake ../${pkgname}-${pkgver} \
24     -DCMAKE_BUILD_TYPE=Release \
25     -DCMAKE_INSTALL_PREFIX=/usr
26   make
29 package() {
30   cd ${srcdir}/build
31   make DESTDIR=${pkgdir} install