summaryrefslogtreecommitdiff
path: root/kde-unstable/libkmap/PKGBUILD
blob: b2ae07a94af38e19994223994c5195a7aee8fdd3 (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
# $Id: PKGBUILD 124764 2011-05-24 08:23:10Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=libkmap
pkgver=4.6.80
pkgrel=1
pkgdesc="A library to browse and arrange photos over a map"
url="http://kde.org/"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=('kdeedu-marble')
makedepends=('cmake' 'automoc4')
source=("http://download.kde.org/unstable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('87a91c4076e4c8867d129679494a4de19ba2e1bd')

build() {
  cd "${srcdir}"
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DWITH_Kexiv2=OFF
  make
}

package() {
  cd "${srcdir}"/build
  make DESTDIR="${pkgdir}" install
}