diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 19 | ||||
-rw-r--r-- | wings.sh (renamed from wings3d.sh) | 2 |
3 files changed, 12 insertions, 15 deletions
@@ -1,7 +1,7 @@ pkgbase = wings3d pkgdesc = 3D modeler using the winged edge data structure pkgver = 2.2.5 - pkgrel = 1 + pkgrel = 2 url = http://www.wings3d.com/ arch = x86_64 license = GPL @@ -11,8 +11,8 @@ pkgbase = wings3d depends = erlang-sdl optdepends = povray: render scenes with POV-Ray source = https://downloads.sourceforge.net/project/wings/wings/2.2.5/wings-2.2.5.tar.bz2 - source = wings3d.sh + source = wings.sh sha256sums = 95ecf84a8f49bc00b983643e7ccd807f64a3b8b88253037a8ccefbe7a3bedff8 - sha256sums = 8e5e8f31d47ea55a0e9d311b7cc0eaac4e6050ac40506d3548b6ebae5d3618be + sha256sums = 21a82e62c1bd5c5eb5ebdee71fccc8fdaabd204e8d8ca440bd6cef3c58e3a7b4 pkgname = wings3d @@ -3,20 +3,18 @@ pkgname=wings3d pkgver=2.2.5 -pkgrel=1 +pkgrel=2 pkgdesc='3D modeler using the winged edge data structure' arch=(x86_64) -# https is not available -url='http://www.wings3d.com/' +url='http://www.wings3d.com/' # https is not available license=(GPL) depends=(erlang erlang-cl erlang-sdl) makedepends=(gendesk) optdepends=('povray: render scenes with POV-Ray') source=("https://downloads.sourceforge.net/project/wings/wings/$pkgver/wings-$pkgver.tar.bz2" - "$pkgname.sh") + wings.sh) sha256sums=('95ecf84a8f49bc00b983643e7ccd807f64a3b8b88253037a8ccefbe7a3bedff8' - '8e5e8f31d47ea55a0e9d311b7cc0eaac4e6050ac40506d3548b6ebae5d3618be') -_p=${pkgname%3d}-$pkgver + '21a82e62c1bd5c5eb5ebdee71fccc8fdaabd204e8d8ca440bd6cef3c58e3a7b4') prepare() { gendesk -f -n \ @@ -29,18 +27,17 @@ prepare() { build() { export ERL_LIBS="$srcdir" - make -C "${pkgname%3d}-$pkgver" unix + make -C ${pkgname%3d}-$pkgver unix } package() { - install -Dm755 $pkgname.sh "$pkgdir/usr/bin/$pkgname" + install -Dm755 wings.sh "$pkgdir/usr/bin/$pkgname" install -Dm644 -t "$pkgdir/usr/share/applications" $pkgname.desktop - cd "${pkgname%3d}-$pkgver/icons" + cd ${pkgname%3d}-$pkgver/icons install -Dm644 wings_icon_48x48.png "$pkgdir/usr/share/pixmaps/$pkgname.png" cd ../build install -d "$pkgdir/usr/lib/$pkgname" - cp -r "wings-$pkgver-linux/lib/wings-$pkgver"/* "$pkgdir/usr/lib/$pkgname/" + cp -r wings-$pkgver-linux/lib/wings-$pkgver/* "$pkgdir/usr/lib/$pkgname" } # getver: -u=2 github.com/dgud/wings/releases -# vim: ts=2 sw=2 et: diff --git a/wings3d.sh b/wings.sh index 13130db983c5..dba8f19963a6 100644 --- a/wings3d.sh +++ b/wings.sh @@ -1,4 +1,4 @@ #!/bin/sh -exec /usr/bin/erl -noinput -smp \ +exec GDK_BACKEND=x11 /usr/bin/erl -noinput -smp \ -pa /usr/lib/erlang/lib/esdl-*/ebin /usr/lib/wings3d/ebin \ -run wings_start start_halt ${1+"$@"} |