summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-06-14 14:43:27 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-06-14 14:43:27 -0300
commitb845572a9d1c3b1d62b0c29d51930f890d3e0622 (patch)
treeaddf48926be2f922a950208268ccca1bbc54fa57
parentbc9ca421cbd98ade9d3f68d718255688d8bb28d9 (diff)
wings3d-libre-1.5.3-1: updating version
-rw-r--r--libre/wings3d-libre/PKGBUILD43
-rw-r--r--libre/wings3d-libre/wings3d.install1
2 files changed, 17 insertions, 27 deletions
diff --git a/libre/wings3d-libre/PKGBUILD b/libre/wings3d-libre/PKGBUILD
index 5970c5bcb..1a0380bd7 100644
--- a/libre/wings3d-libre/PKGBUILD
+++ b/libre/wings3d-libre/PKGBUILD
@@ -1,13 +1,13 @@
-# $Id: PKGBUILD 95697 2013-08-15 18:20:27Z arodseth $
+# $Id: PKGBUILD 113127 2014-06-13 22:30:55Z arodseth $
# Maintainer (Arch): Alexander Rødseth <rodseth@gmail.com>
# Contributor (Arch): kappa <kappacurve@gmail.com>
# Maintainer: Márcio Silva <coadde@parabola.nu>
+_pkgname=wings3d
_name=wings
-_pkgname=${_name}3d
-pkgname=$_pkgname-libre
-pkgver=1.5.2
-pkgrel=1.1
+pkgname=wings3d-libre
+pkgver=1.5.3
+pkgrel=1
pkgdesc='3D modeling program, without nonfree kerkythea render support'
arch=('x86_64' 'i686' 'mips64el')
url='http://www.wings3d.com/'
@@ -19,47 +19,38 @@ provides=("$_pkgname")
conflicts=("$_pkgname")
replaces=("$_pkgname")
install=$_pkgname.install
-source=("$_pkgname-$pkgver.tar.gz::https://github.com/dgud/wings/archive/v$pkgver.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=('d86980e4fa91a04ca96b989b0dcba53a37c8cfda4e6d98accb8e7bd9a289094b'
+sha256sums=('c08060016f83679ce08947942d31af0e3b5d105525d0df5e993ec6f1a81fdd8e'
'46513cd05f8b6e778120af4a87b239c5250799c17b591592893d98cbf082359e'
'6658977cc3bc8db2c9358edf3a2d6cb6bb8084c9a1d96ca573a83dd4e8781f1a')
prepare() {
- gendesk --pkgname "$_pkgname" --pkgdesc "$pkgdesc" \
+ gendesk -f --pkgname "$_pkgname" --pkgdesc "$pkgdesc" --name 'Wings3D' \
--genericname '3D Modeler' --categories 'Graphics;3DGraphics'
-
- cd "$_name-$pkgver"
- sed -i "s|v1[.]2[.]x[.]y[.]WINGS|v$pkgver.$pkgrel.PARABOLA|" WINGS-VERSION-GEN
}
build() {
- cd "$_name-$pkgver"
-
export ESDL_PATH=$(echo /usr/lib/erlang/lib/esdl-*)
- make
- make lang
+ make -C "$_name-$pkgver" all lang
}
package() {
+ install -Dm644 "$_pkgname.png" "$pkgdir/usr/share/pixmaps/$_pkgname.png"
+ install -Dm644 "$_pkgname.desktop" \
+ "$pkgdir/usr/share/applications/$_pkgname.desktop"
+ install -Dm755 "$_pkgname.sh" "$pkgdir/usr/bin/$_pkgname"
cd "$_name-$pkgver"
-
- mkdir -p "$pkgdir/usr/lib/$_pkgname"
+ install -d "$pkgdir/usr/lib/$_pkgname"
for subdir in ebin fonts patches plugins shaders textures; do
cp -r "$srcdir/$_name-$pkgver/$subdir/" "$pkgdir/usr/lib/$_pkgname"
done
- cd "$srcdir"
- install -Dm755 "$_pkgname.sh" "$pkgdir/usr/bin/$_pkgname"
- install -Dm644 "$_pkgname.png" "$pkgdir/usr/share/pixmaps/$_pkgname.png"
- install -Dm644 "$_pkgname.desktop" \
- "$pkgdir/usr/share/applications/$_pkgname.desktop"
-
msg 'remove nonfree kerkythea render support plugin'
- rm -v $pkgdir/usr/lib/wings3d/plugins/import_export/wpc_kerky.beam
+ rm -v $pkgdir/usr/lib/$_pkgname/plugins/import_export/wpc_kerky.beam
- msg 'remove obsolete yafray render support plugin'
- rm -v $pkgdir/usr/lib/wings3d/plugins/import_export/wpc_yafray{.beam,_{de,en,fr,ko}.lang}
+ msg 'remove deprecated yafray render support plugin'
+ rm -v $pkgdir/usr/lib/$_pkgname/plugins/import_export/wpc_yafray{.beam,_{de,en,fr,ko}.lang}
}
# vim:set ts=2 sw=2 et:
diff --git a/libre/wings3d-libre/wings3d.install b/libre/wings3d-libre/wings3d.install
index 98f3ea190..ad97d7bab 100644
--- a/libre/wings3d-libre/wings3d.install
+++ b/libre/wings3d-libre/wings3d.install
@@ -1,5 +1,4 @@
post_upgrade() {
- #gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor
update-desktop-database -q
}