Advertisement
Guest User

Untitled

a guest
Mar 10th, 2012
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.12 KB | None | 0 0
  1. # Contributor: mangus
  2. ### requires only Qt as a dependency.
  3. ###The only drawback is that Marble-Qt doesn't provide the whole functionality of Marble
  4. ###  (e.g. the settings dialog or automatic map download via "GHNS")
  5. pkgname=marble
  6. pkgver=1.3.0
  7. _kver=4.8.1
  8. pkgrel=2
  9. pkgdesc="A generic geographical map widget - qt version"
  10. arch=('i686' 'x86_64')
  11. url="http://edu.kde.org/marble"
  12. license=('LGPL')
  13. depends=('qt' 'openssl' 'qtwebkit')
  14. makedepends=('cmake') # 'gpsd')
  15. optdepends=("gpsd: GPS daemon and library to support USB/serial GPS devices")
  16. source=(http://download.kde.org/stable/${_kver}/src/marble-${_kver}.tar.bz2)
  17. md5sums=('438bb6bfae109105b49adcb6eafd7339')
  18. install=marble.install
  19. conflicts=('kdeedu-marble' 'marble-git')
  20.  
  21. build() {
  22.   cd  ${srcdir}
  23.  
  24.   if [[ -d ${srcdir}/build ]]; then
  25.     msg "Cleaning the previous build directory..."
  26.     rm -rf ${srcdir}/build
  27.   fi
  28.   mkdir ${srcdir}/build
  29.   cd ${srcdir}/build
  30.   cmake ${srcdir}/${pkgname}-${_kver} -DCMAKE_INSTALL_PREFIX=/usr  \
  31.             -DCMAKE_BUILD_TYPE=Release -DQTONLY=ON
  32.   make
  33. }
  34. package() {
  35.   cd ${srcdir}/build
  36.   make DESTDIR=${pkgdir} install
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement