Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 19th, 2013  |  syntax: Bash  |  size: 0.82 KB  |  views: 18  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. pkgname='swisseph'
  2. pkgver='1.77.00'
  3. pkgrel='2'
  4. pkgdesc='High precision Swiss Ephemeris developed by Astrodienst.'
  5. arch=('i686' 'x86_64')
  6. license=('GPL')
  7. url=('http://www.astro.com/swisseph/')
  8. depends=()
  9. makedepends=()
  10. optdepends=()
  11. source=('http://www.astro.com/ftp/swisseph/swe_unix_src_1.77.00.tar.gz')
  12. md5sums=('62ec933bbe7dde6a96d0b363ca1e18e3')
  13.  
  14. build() {
  15.     cd $srcdir/src/
  16.     sed 's/\(CFLAGS = -g -O9 -Wall\)/\1 -fPIC/g' -i Makefile
  17.     sed 's/\(-shared -o libswe.so \)/\1 -fPIC /g' -i Makefile
  18.     make swetest swemini libswe.a libswe.so
  19.     install -d -m 755 $pkgdir/usr/{lib,bin,include}
  20.     install -m 755 $srcdir/src/swetest $srcdir/src/swemini $pkgdir/usr/bin
  21.     install -m 755 $srcdir/src/libswe.a $srcdir/src/libswe.so $pkgdir/usr/lib
  22.     install -m 644 $srcdir/src/swephexp.h $pkgdir/usr/include
  23. }