[arch-commits] Commit in (tachyon tachyon/trunk tachyon/trunk/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat Dec 20 23:53:08 UTC 2014


    Date: Sunday, December 21, 2014 @ 00:53:07
  Author: arojas
Revision: 124238

Splitting sage-mathematics

Added:
  tachyon/
  tachyon/trunk/
  tachyon/trunk/PKGBUILD

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Added: tachyon/trunk/PKGBUILD
===================================================================
--- tachyon/trunk/PKGBUILD	                        (rev 0)
+++ tachyon/trunk/PKGBUILD	2014-12-20 23:53:07 UTC (rev 124238)
@@ -0,0 +1,38 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=tachyon
+pkgver=0.98.9
+pkgrel=1
+pkgdesc="Multithreaded ray tracing software"
+arch=('i686' 'x86_64')
+url="http://jedi.ks.uiuc.edu/~johns/raytracer/"
+license=('BSD')
+depends=('glibc')
+options=('staticlibs')
+source=(http://jedi.ks.uiuc.edu/~johns/raytracer/files/$pkgver/$pkgname-$pkgver.tar.gz)
+md5sums=('eb39e10bb37bccc949b45b8fc28dabd7')
+
+case "$CARCH" in
+  "i686") _target=linux-thr ;;
+  "x86_64") _target=linux-64-thr ;;
+esac
+
+build() {
+  cd $pkgname/unix
+  make $_target
+}
+
+package() {
+  cd $pkgname/compile/$_target
+  install -D -m 755 tachyon $pkgdir/usr/bin/tachyon
+  install -D -m 644 libtachyon.a $pkgdir/usr/lib/libtachyon.a
+
+  cd $srcdir/$pkgname/scenes
+  install -d "$pkgdir"/usr/share/tachyon/scenes/imaps
+  install -m 644 README *.dat *.cam *.ac "$pkgdir"/usr/share/tachyon/scenes
+  install -m 644 imaps/* "$pkgdir"/usr/share/tachyon/scenes/imaps
+
+  install -d "$pkgdir"/usr/share/licenses/tachyon
+  install $srcdir/$pkgname/Copyright "$pkgdir"/usr/share/licenses/tachyon
+}


Property changes on: tachyon/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list