Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jan 15th, 2012  |  syntax: None  |  size: 0.88 KB  |  hits: 51  |  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: schuay <jakob.gruber@gmail.com>
  2. # Maintainer: Dany Martineau <dany.luc.martineau gmail com>
  3.  
  4. pkgname=chroma
  5. pkgver=1.14
  6. pkgrel=1
  7. pkgdesc="Abstract puzzle game."
  8. arch=('i686' 'x86_64')
  9. url="http://www.level7.org.uk/chroma/"
  10. license=('GPL')
  11. depends=('sdl_image' 'ncurses' 'freetype2')
  12. makedepends=('make' 'gettext')
  13. source=("http://www.level7.org.uk/${pkgname}/download/${pkgname}-${pkgver}.tar.bz2"
  14.         "${pkgname}.desktop")
  15. md5sums=('9699ba18745f04f6dbb9c416caf30180'
  16.          '90932d9a42f1545c3ba59ae38afb7732')
  17.  
  18. build() {
  19.     cd ${srcdir}/${pkgname}-${pkgver}
  20.  
  21.     # removing the next line causes ncurses linking errors
  22.     ./configure --prefix=/usr
  23.     make
  24. }
  25. package() {
  26.     cd ${srcdir}/${pkgname}-${pkgver}
  27.  
  28.     make DESTDIR=${pkgdir} install
  29.     install -Dm644 ../${pkgname}.desktop \
  30.         ${pkgdir}/usr/share/applications/${pkgname}.desktop
  31. }