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

rsibreak-0.11-beta1 PKGUILD

By: a guest on Dec 1st, 2010  |  syntax: Diff  |  size: 0.86 KB  |  views: 67  |  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. # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
  2. # Contributor: bram85 <me@bramschoenmakers.nl>
  3.  
  4. pkgname=rsibreak
  5. pkgver=0.11
  6. pkgrel=beta1
  7. pkgdesc="A small utility to help prevent Repetive Strain Injury"
  8. arch=('i686' 'x86_64')
  9. url="http://www.rsibreak.org/"
  10. license=('GPL')
  11. depends=('libxss' 'kdelibs' 'oxygen-icons')
  12. makedepends=('automoc4' 'cmake' 'docbook-xml')
  13. options=('libtool')
  14. source=(http://www.rsibreak.org/files/$pkgname-$pkgver-$pkgrel.tar.bz2)
  15. md5sums=('2ce81ee7ac699fc4ae92dc8fa00d6130')
  16.  
  17. build() {
  18.   cd ${srcdir}/$pkgname-${pkgver}-$pkgrel
  19.  
  20. #building in source directory not allowed
  21.   if [ -d ${srcdir}/build ]; then
  22.     (cd ${srcdir}/build)
  23.   else
  24.     mkdir ${srcdir}/build && cd ${srcdir}/build
  25.   fi
  26.  
  27.   cmake ../$pkgname-$pkgver-$pkgrel -DCMAKE_INSTALL_PREFIX=/usr
  28.   make || return 1
  29.   make DESTDIR=${pkgdir} install
  30. }
clone this paste RAW Paste Data