blob: 3c738d6ec5db7063046a1898af0373575dd6181e (
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
33
34
35
36
37
|
# $Id: PKGBUILD 149702 2012-02-09 14:11:37Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kdeedu-marble
pkgver=4.8.0
pkgrel=2
pkgdesc="Desktop Globe"
url="http://kde.org/applications/education/marble/"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4' 'gpsd')
optdepends=('gpsd: gps support')
install=${pkgname}.install
source=("http://download.kde.org/stable/${pkgver}/src/marble-${pkgver}.tar.bz2"
'fix-with-qt48.patch')
sha1sums=('6c3c6b03c9d8e92730d6955adcbdb5de42fda43d'
'3ec130564aa1b7a61a0c3cd51533c69c6c35bd0e')
build() {
cd "${srcdir}"/marble-${pkgver}
patch -p1 -i "${srcdir}"/fix-with-qt48.patch
cd "${srcdir}"
mkdir build
cd build
cmake ../marble-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
}
|