[arch-commits] Commit in wings3d/trunk (PKGBUILD)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Sun Mar 3 23:04:15 UTC 2013
Date: Monday, March 4, 2013 @ 00:04:15
Author: arodseth
Revision: 85603
Doesn't compile from master
Modified:
wings3d/trunk/PKGBUILD
----------+
PKGBUILD | 37 ++++++++++++++-----------------------
1 file changed, 14 insertions(+), 23 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-03-03 21:28:43 UTC (rev 85602)
+++ PKGBUILD 2013-03-03 23:04:15 UTC (rev 85603)
@@ -5,54 +5,45 @@
pkgname=wings3d
_pkgname=wings
pkgver=1.4.1
-pkgrel=13
+pkgrel=15
pkgdesc='3D modeling program'
arch=('x86_64' 'i686')
url='http://www.wings3d.com/'
license=('GPL')
-depends=('erlang-sdl' 'erlang-cl' 'bash' 'desktop-file-utils' 'erlang')
+depends=('erlang-sdl>=1.2-7' 'erlang-cl>=1.0-3' 'bash' 'desktop-file-utils' 'erlang')
makedepends=('setconf' 'gendesk')
optdepends=('povray: rendering support via POV-Ray')
install=$pkgname.install
-source=("$pkgname-$pkgver.tar.gz::https://nodeload.github.com/dgud/wings/tar.gz/dgud/r15b-driver-compat"
+#source=("http://sourceforge.net/projects/wings/files/wings/1.4.1/wings-1.4.1-linux.bzip2.run.gz"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/dgud/wings/archive/master.tar.gz"
"$pkgname.sh"
- "$pkgname.png::http://img299.imageshack.us/img299/2538/wingsiconblackshiningew5.png"
- 'erlangR16B.patch'
- 'https://raw.github.com/erlang/pmod_transform/master/src/pmod_pt.erl')
-sha256sums=('b89aca41937d4d07424ccc0447eb5a6c3755350428201d7d7644e467dcd20fdf'
+ "$pkgname.png::http://img299.imageshack.us/img299/2538/wingsiconblackshiningew5.png")
+sha256sums=('760e19fa4973ed0fc75057897135a8efa241e834b078fc05c28786672137b322'
'46513cd05f8b6e778120af4a87b239c5250799c17b591592893d98cbf082359e'
- '6658977cc3bc8db2c9358edf3a2d6cb6bb8084c9a1d96ca573a83dd4e8781f1a'
- '1f06117193e7aa108a547eb7e9b3d0621a569548194bd8e79f1300749a07020f'
- 'abda381fad01f6342f3967cb071d1218f40b1bfb8a0f13fa46bf7aea72333e16')
+ '6658977cc3bc8db2c9358edf3a2d6cb6bb8084c9a1d96ca573a83dd4e8781f1a')
_genericname=('3D Modeler')
-_dirname="$_pkgname-dgud-r15b-driver-compat"
build() {
cd "$srcdir"
gendesk
setconf "$pkgname.desktop" Categories "Graphics;3DGraphics;"
- cd "$_dirname"
- patch -p1 -i "$srcdir/erlangR16B.patch"
- cp -f "$srcdir/pmod_pt.erl" src/
- cd src
- echo erlc -pa /usr/lib/erlang/lib/esdl-1.2/ebin -I /usr/lib/erlang/lib/esdl-1.2/include -I ../e3d -W +debug_info '-Dwings_version="1.2.x.y.WINGS"' -pa ../intl_tools -o../ebin pmod_pt.erl
- erlc -pa /usr/lib/erlang/lib/esdl-1.2/ebin -I /usr/lib/erlang/lib/esdl-1.2/include -I ../e3d -W +debug_info '-Dwings_version="1.2.x.y.WINGS"' -pa ../intl_tools -o../ebin pmod_pt.erl
- echo "YES"
- return 1
- cd ..
+ #chmod +x "$_pkgname-$pkgver-linux.bzip2.run"
+ #mkdir -p "$_pkgdir/usr/share/$pkgname"
+ #./$_pkgname-$pkgver-linux.bzip2.run --nox11 --nochown --tar xvf
+ cd "$_pkgname-master"
export ESDL_PATH=$(echo /usr/lib/erlang/lib/esdl-*)
make
- #make lang
+ make lang
}
package() {
- cd "$srcdir/$_dirname"
+ cd "$srcdir/$_pkgname-master"
mkdir -p "$pkgdir/usr/lib/$pkgname"
for subdir in ebin fonts patches plugins shaders textures; do
- cp -r "$srcdir/$_dirname/$subdir/" "$pkgdir/usr/lib/$pkgname"
+ cp -r "$srcdir/$_pkgname-master/$subdir/" "$pkgdir/usr/lib/$pkgname"
done
install -Dm644 license.terms "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
More information about the arch-commits
mailing list