updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / earth3d / PKGBUILD
blob4861abe3a3a796f33fec29b4682daef5b7985e2f
1 # Maintainer: TDY <tdy@gmx.com>
3 pkgname=earth3d
4 pkgver=1.0.5
5 pkgrel=1
6 pkgdesc="A map client for displaying a 3D model of the world"
7 arch=('i686' 'x86_64')
8 url="http://www.earth3d.org/"
9 license=('GPL')
10 depends=('qt3')
11 source=(http://downloads.sourceforge.net/$pkgname/${pkgname}_client-$pkgver-src.tar.bz2
12         $pkgname-$pkgver-gcc44.diff)
13 md5sums=('d273437a473f66401b01acf7521808c3'
14          'e796d6f1feb36a67fdfee1e940b2c057')
16 build() {
17   cd "$srcdir/$pkgname"
18   patch -Np1 -i ../$pkgname-$pkgver-gcc44.diff || return 1
19   . /etc/profile.d/qt3.sh
20   /opt/qt/bin/qmake || return 1
23 package() {
24   cd "$srcdir/$pkgname"
25   make INSTALL_ROOT="$pkgdir" install