summaryrefslogtreecommitdiff
path: root/community-testing/wings3d/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-04-11 10:57:18 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-04-11 10:57:18 -0300
commitc07ca5cb71d277e9f2fd5c7b94cf8a0021bdfab5 (patch)
treed9d528762b726855cc356781c89abb1768c8be28 /community-testing/wings3d/PKGBUILD
parentece2137c9569ec806aacf3740df98c399a51b21a (diff)
parent8119da2eaadf53531cad2aed70981ed4606340d6 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/sword/PKGBUILD community/freedroidrpg/PKGBUILD community/pgadmin3/PKGBUILD libre/lame-libre/PKGBUILD testing/dbus-core/PKGBUILD testing/libwebkit/PKGBUILD testing/tracker/PKGBUILD testing/udev/0001-split-usr-always-read-config-files-from-lib-udev.patch testing/udev/0002-reinstate-TIMEOUT-handling.patch testing/udev/PKGBUILD
Diffstat (limited to 'community-testing/wings3d/PKGBUILD')
-rw-r--r--community-testing/wings3d/PKGBUILD55
1 files changed, 55 insertions, 0 deletions
diff --git a/community-testing/wings3d/PKGBUILD b/community-testing/wings3d/PKGBUILD
new file mode 100644
index 000000000..ead5b9e68
--- /dev/null
+++ b/community-testing/wings3d/PKGBUILD
@@ -0,0 +1,55 @@
+# $Id: PKGBUILD 61589 2012-01-03 23:37:49Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: kappa <kappacurve@gmail.com>
+
+pkgname=wings3d
+_pkgname=wings
+pkgver=1.4.1
+pkgrel=6
+pkgdesc="3D modeling program"
+arch=('x86_64' 'i686')
+url="http://www.wings3d.com/"
+license=('GPL')
+depends=('esdl' 'bash' 'desktop-file-utils')
+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"
+ "$pkgname.png")
+sha256sums=('51aea431e18935e5634ea673caa945f586db2203855554d8dcab5e9545f2789a'
+ '46513cd05f8b6e778120af4a87b239c5250799c17b591592893d98cbf082359e'
+ 'ad49fded5e503131ee0e2e03a6db0974aa60f50e1ec6cd697fcacef126c40f52')
+_genericname=('3D Modeler')
+
+build() {
+ cd "$srcdir"
+ gendesk
+ setconf "$pkgname.desktop" Categories "Graphics;3DGraphics;"
+
+ cd "$_pkgname-$pkgver"
+ export ESDL_PATH=$(echo /usr/lib/erlang/lib/esdl-*)
+ make
+ make lang
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ 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"
+ done
+
+ install -D -m 755 "$srcdir/wings3d" "$pkgdir/usr/bin/wings3d"
+ install -D -m 644 "$srcdir/wings3d.desktop" \
+ "$pkgdir/usr/share/applications/wings3d.desktop"
+ install -D -m 644 "$srcdir/wings3d.png" \
+ "$pkgdir/usr/share/pixmaps/wings3d.png"
+ install -D -m 644 license.terms \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: