[arch-commits] Commit in wings3d/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Wed Aug 22 13:32:17 UTC 2018


    Date: Wednesday, August 22, 2018 @ 13:32:16
  Author: arodseth
Revision: 373249

upgpkg: wings3d 2.1.7-2

Modified:
  wings3d/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-22 13:11:36 UTC (rev 373248)
+++ PKGBUILD	2018-08-22 13:32:16 UTC (rev 373249)
@@ -1,10 +1,10 @@
 # $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
 # Contributor: kappa <kappacurve at gmail.com>
 
 pkgname=wings3d
 pkgver=2.1.7
-pkgrel=1
+pkgrel=2
 pkgdesc='3D modeling program'
 arch=('x86_64')
 url='http://www.wings3d.com/'
@@ -11,7 +11,7 @@
 license=('GPL')
 depends=('desktop-file-utils' 'erlang' 'erlang-cl' 'erlang-sdl')
 makedepends=('gendesk' 'imagemagick')
-optdepends=('povray: rendering support via POV-Ray')
+optdepends=('povray: render scenes with POV-Ray')
 source=("https://downloads.sourceforge.net/project/wings/wings/$pkgver/wings-$pkgver.tar.bz2"
         "$pkgname.sh")
 sha256sums=('c2f4787ac2f8c874cdbb57c87a3e267a54e7f7f90082c9885e96290d1102ff24'
@@ -26,13 +26,13 @@
     --genericname '3D Modeler' \
     --categories 'Graphics;3DGraphics'
 
-  convert $_p/win32/wings.ico $pkgname.png
+  convert "$_p"/win32/wings.ico $pkgname.png
 
   # Path fix for building wpc_lwo
-  ln -s $_p $_p/plugins_src/import_export/wings
-  ln -s $_p wings
+  ln -s "$_p" "$_p"/plugins_src/import_export/wings
+  ln -s "$_p" wings
 
-  sed -i 's/-Werror//' $_p/{src,e3d,plugins_src/import_export}/Makefile
+  sed -i 's/-Werror//' "$_p"/{src,e3d,plugins_src/import_export}/Makefile
 }
 
 build() {
@@ -39,7 +39,7 @@
   export ESDL_PATH="$(echo /usr/lib/erlang/lib/esdl-*)"
   export ERL_LIBS="$srcdir"
 
-  make -C $_p all lang
+  make -C "$_p" all lang
 }
 
 package() {
@@ -51,9 +51,9 @@
 
   install -d "$pkgdir/usr/lib/$pkgname"
   for subdir in e3d ebin icons plugins psd shaders src textures tools; do
-    cp -r $_p/$subdir/ "$pkgdir/usr/lib/$pkgname"
+    cp -r "$_p"/$subdir/ "$pkgdir/usr/lib/$pkgname"
   done
 }
 
-# getver: wings3d.com/?page_id=84
+# getver: -u=2 github.com/dgud/wings/releases
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list