Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 15th, 2011  |  syntax: Bash  |  size: 0.78 KB  |  views: 78  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. pkgname=calligra-l10n
  2. pkgver=2.3.83
  3. _lang=ru
  4. pkgrel=1
  5. pkgdesc="Localization for Calligra"
  6. arch=('i686' 'x86_64')
  7. url="www.calligra-suite.org/"
  8. license=('LGPL')
  9. makedepends=('cmake' 'automoc4' 'kdelibs' 'docbook-xsl')
  10. source=(ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-${_lang}-${pkgver}.tar.bz2)
  11. md5sums=('d44647b615db2b7a19073feecaabaff7')
  12.  
  13. build() {
  14.   cd  ${srcdir}
  15.  
  16.   if [[ -d ${srcdir}/build ]]; then
  17.     msg "Cleaning the previous build directory..."
  18.     rm -rf ${srcdir}/build
  19.   fi
  20.   mkdir ${srcdir}/build
  21.   cd ${srcdir}/build
  22.   cmake ${srcdir}/calligra-l10n-${_lang}-${pkgver} -DCMAKE_INSTALL_PREFIX=/usr  \
  23.                         -DCMAKE_BUILD_TYPE=Release -DQTONLY=ON
  24.   make
  25. }
  26. package() {
  27.   cd ${srcdir}/build
  28.   make DESTDIR=${pkgdir} install
  29. }
  30.  
clone this paste RAW Paste Data