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

Alexander Rødseth arodseth at nymeria.archlinux.org
Fri Jun 13 22:30:55 UTC 2014


    Date: Saturday, June 14, 2014 @ 00:30:55
  Author: arodseth
Revision: 113127

upgpkg: wings3d 1.5.3-1

Modified:
  wings3d/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-06-13 22:04:49 UTC (rev 113126)
+++ PKGBUILD	2014-06-13 22:30:55 UTC (rev 113127)
@@ -4,7 +4,7 @@
 
 pkgname=wings3d
 _pkgname=wings
-pkgver=1.5.2
+pkgver=1.5.3
 pkgrel=1
 pkgdesc='3D modeling program'
 arch=('x86_64' 'i686')
@@ -14,22 +14,21 @@
 makedepends=('gendesk')
 optdepends=('povray: rendering support via POV-Ray')
 install=$pkgname.install
-source=("$pkgname-$pkgver.tar.gz::https://github.com/dgud/wings/archive/master.tar.gz"
+source=("http://downloads.sourceforge.net/project/wings/wings/$pkgver/wings-$pkgver.tar.bz2"
         "$pkgname.sh"
         "$pkgname.png::http://img299.imageshack.us/img299/2538/wingsiconblackshiningew5.png")
-sha256sums=('3ea003dfea9e707e8086dd82fc34fb7ff08fb20d8fdfedc4ea1266f414b34caf'
+sha256sums=('c08060016f83679ce08947942d31af0e3b5d105525d0df5e993ec6f1a81fdd8e'
             '46513cd05f8b6e778120af4a87b239c5250799c17b591592893d98cbf082359e'
             '6658977cc3bc8db2c9358edf3a2d6cb6bb8084c9a1d96ca573a83dd4e8781f1a')
 
 prepare() {
-  gendesk --pkgname "$pkgname" --pkgdesc "$pkgdesc" --name 'Wings3D' \
+  gendesk -f --pkgname "$pkgname" --pkgdesc "$pkgdesc" --name 'Wings3D' \
     --genericname '3D Modeler' --categories 'Graphics;3DGraphics'
 }
 
 build() {
   export ESDL_PATH=$(echo /usr/lib/erlang/lib/esdl-*)
-  make -C "$_pkgname-master"
-  make -C "$_pkgname-master" lang
+  make -C "$_pkgname-$pkgver" all lang
 }
 
 package() {
@@ -37,10 +36,10 @@
   install -Dm644 "$pkgname.desktop" \
     "$pkgdir/usr/share/applications/$pkgname.desktop"
   install -Dm755 "$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
-  cd "$_pkgname-master"
+  cd "$_pkgname-$pkgver"
   install -d "$pkgdir/usr/lib/$pkgname"
   for subdir in ebin fonts patches plugins shaders textures; do
-    cp -r "$srcdir/$_pkgname-master/$subdir/" "$pkgdir/usr/lib/$pkgname"
+    cp -r "$srcdir/$_pkgname-$pkgver/$subdir/" "$pkgdir/usr/lib/$pkgname"
   done
 }
 




More information about the arch-commits mailing list