summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukáš Jirkovský2015-05-27 20:52:47 +0200
committerLukáš Jirkovský2015-05-27 20:52:47 +0200
commit6550b387983f805640e4ad2af9870f2430578cfd (patch)
treea0a64b778e23efc02a9dfc7cbeb009c87bde6074
downloadaur-6550b387983f805640e4ad2af9870f2430578cfd.tar.gz
initial commit.
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD27
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..90242be870f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = 3delight
+ pkgdesc = Fast, high quality, RenderMan-compliant renderer
+ pkgver = 11.0.168
+ pkgrel = 1
+ url = http://www.3delight.com/
+ arch = x86_64
+ license = custom
+ makedepends = wget
+ depends = mesa
+ depends = gtk2
+ depends = libpng12
+ depends = libxxf86vm
+ source = http://www.3delight.com/downloads/free/3delight-11.0.168-Linux-x86_64.tar.xz
+ md5sums = 26070c799ae1c30a4358048018b92223
+
+pkgname = 3delight
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f3d0426f803
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Lukas Jirkovsky <l DOT jirkovsky AT gmail DOT com>
+pkgname=3delight
+pkgver=11.0.168
+pkgrel=1
+pkgdesc="Fast, high quality, RenderMan-compliant renderer"
+arch=('x86_64')
+url="http://www.3delight.com/"
+license=('custom')
+depends=('mesa' 'gtk2' 'libpng12' 'libxxf86vm')
+makedepends=('wget')
+DLAGENTS=('http::/usr/bin/wget --tries=3 --output-document=%o %u')
+source=("http://www.3delight.com/downloads/free/3delight-$pkgver-Linux-x86_64.tar.xz")
+md5sums=('26070c799ae1c30a4358048018b92223')
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver-Linux-x86_64
+ # some sed magic
+ sed "s|INSTALLDIR|/opt/3delight|1" .3delight_bash.in > .3delight_bash
+ sed "s|INSTALLDIR|/opt/3delight|1" .3delight_csh.in > .3delight_csh
+
+ mkdir -p "$pkgdir"/opt
+ cp -R 3delight "$pkgdir"/opt
+ install -D -m755 .3delight_bash "$pkgdir"/etc/profile.d/3delight.sh
+ install -D -m755 .3delight_csh "$pkgdir"/etc/profile.d/3delight.csh
+
+ install -D -m644 LicensingAgreement.txt "$pkgdir"/usr/share/licenses/$pkgname/License
+}