summaryrefslogtreecommitdiff
path: root/community/wings3d
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-05 00:01:14 +0000
committerroot <root@rshg054.dnsready.net>2012-05-05 00:01:14 +0000
commit5801c5acd80d30d17aaef76b8bc401c61b3ef3c9 (patch)
treeeb041f2a83edee4a597678749b22181df9a32ecb /community/wings3d
parentb2c353d874b85e06f355a9419852e2616613c7d0 (diff)
Sat May 5 00:01:14 UTC 2012
Diffstat (limited to 'community/wings3d')
-rw-r--r--community/wings3d/PKGBUILD20
-rw-r--r--community/wings3d/wings3d.sh2
2 files changed, 12 insertions, 10 deletions
diff --git a/community/wings3d/PKGBUILD b/community/wings3d/PKGBUILD
index fbd443548..3fa7ea7a3 100644
--- a/community/wings3d/PKGBUILD
+++ b/community/wings3d/PKGBUILD
@@ -5,48 +5,48 @@
pkgname=wings3d
_pkgname=wings
pkgver=1.4.1
-pkgrel=7
+pkgrel=8
pkgdesc="3D modeling program"
arch=('x86_64' 'i686')
url="http://www.wings3d.com/"
license=('GPL')
-depends=('esdl' 'bash' 'desktop-file-utils')
+depends=('esdl' 'bash' 'desktop-file-utils' 'cl')
makedepends=('setconf' 'gendesk')
optdepends=('povray: rendering support via POV-Ray')
-# 'kerkythea: rendering support via Kerkythea'
replaces=('wings' 'wings-devel')
install=$pkgname.install
-source=("http://downloads.sourceforge.net/wings/$_pkgname-$pkgver.tar.bz2"
- "$pkgname"
+source=("$pkgname-$pkgver.tar.gz::https://nodeload.github.com/dgud/wings/tarball/dgud/r15b-driver-compat"
+ "$pkgname.sh"
"$pkgname.png::http://img299.imageshack.us/img299/2538/wingsiconblackshiningew5.png")
-sha256sums=('51aea431e18935e5634ea673caa945f586db2203855554d8dcab5e9545f2789a'
+sha256sums=('cbe917601b31b7d469c2f9ed0de1b016be86f14f9e757860990d9489a84585dd'
'46513cd05f8b6e778120af4a87b239c5250799c17b591592893d98cbf082359e'
'6658977cc3bc8db2c9358edf3a2d6cb6bb8084c9a1d96ca573a83dd4e8781f1a')
_genericname=('3D Modeler')
+_dirname='dgud-wings-4f3a3ff'
build() {
cd "$srcdir"
gendesk
setconf "$pkgname.desktop" Categories "Graphics;3DGraphics;"
- cd "$_pkgname-$pkgver"
+ cd "$_dirname"
export ESDL_PATH=$(echo /usr/lib/erlang/lib/esdl-*)
make
make lang
}
package() {
- cd "$srcdir/$_pkgname-$pkgver"
+ cd "$srcdir/$_dirname"
mkdir -p "$pkgdir/usr/lib/$pkgname"
for subdir in ebin fonts patches plugins shaders textures; do
- cp -r "$srcdir/$_pkgname-$pkgver/$subdir/" "$pkgdir/usr/lib/$pkgname"
+ cp -r "$srcdir/$_dirname/$subdir/" "$pkgdir/usr/lib/$pkgname"
done
install -Dm644 license.terms "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
cd "$srcdir"
- install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
+ install -Dm755 "$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
install -Dm644 "$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
install -Dm644 "$pkgname.desktop" \
"$pkgdir/usr/share/applications/$pkgname.desktop"
diff --git a/community/wings3d/wings3d.sh b/community/wings3d/wings3d.sh
new file mode 100644
index 000000000..c0fd3b2fb
--- /dev/null
+++ b/community/wings3d/wings3d.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+erl -noinput -smp disable -pa /usr/lib/erlang/lib/esdl-*/ebin /usr/lib/wings3d/ebin -run wings_start start_halt ${1+"$@"}