summaryrefslogtreecommitdiff
path: root/libre/wings3d/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/wings3d/PKGBUILD')
-rw-r--r--libre/wings3d/PKGBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/libre/wings3d/PKGBUILD b/libre/wings3d/PKGBUILD
index 764246778..7bff97243 100644
--- a/libre/wings3d/PKGBUILD
+++ b/libre/wings3d/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 122569 2014-11-14 13:43:53Z arodseth $
-# Maintainer (Arch): Alexander Rødseth <rodseth@gmail.com>
+# $Id: PKGBUILD 176459 2016-05-24 21:23:19Z arodseth $
+# Maintainer (Arch): Alexander F Rødseth <rodseth@gmail.com>
# Contributor (Arch): kappa <kappacurve@gmail.com>
# Maintainer: Márcio Silva <coadde@parabola.nu>
pkgname=wings3d
_pkgname=wings
pkgver=1.5.4
-pkgrel=1.parabola1
+pkgrel=2.parabola1
pkgdesc='3D modeling program, without nonfree kerkythea render support'
arch=('x86_64' 'i686')
url='http://www.wings3d.com/'
@@ -16,19 +16,21 @@ makedepends=('gendesk' 'imagemagick')
optdepends=('povray: rendering support via POV-Ray')
conflicts=("${pkgname}-libre")
replaces=("${pkgname}-libre")
-install=$pkgname.install
source=("http://downloads.sourceforge.net/project/wings/wings/$pkgver/wings-$pkgver.tar.bz2"
"$pkgname.sh")
sha256sums=('bd04ca1c1237f3a6f29ce3f653015e21142b849b338a3d1ab8633e3c6bcde663'
'46513cd05f8b6e778120af4a87b239c5250799c17b591592893d98cbf082359e')
prepare() {
- gendesk -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" --name 'Wings3D' \
+ gendesk -f -n \
+ --pkgname "$pkgname" --pkgdesc "$pkgdesc" --name 'Wings3D' \
--genericname '3D Modeler' --categories 'Graphics;3DGraphics'
+
convert "$_pkgname-$pkgver/win32/wings.ico" "$pkgname.png"
# Path fix for building wpc_lwo
- ln -s "$srcdir/$_pkgname-$pkgver" "$_pkgname-$pkgver/plugins_src/import_export/wings"
+ ln -s "$srcdir/$_pkgname-$pkgver" \
+ "$_pkgname-$pkgver/plugins_src/import_export/wings"
}
build() {
@@ -41,8 +43,9 @@ package() {
install -Dm644 "$pkgname.desktop" \
"$pkgdir/usr/share/applications/$pkgname.desktop"
install -Dm755 "$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
- cd "$_pkgname-$pkgver"
install -d "$pkgdir/usr/lib/$pkgname"
+
+ cd "$_pkgname-$pkgver"
for subdir in ebin fonts patches plugins shaders textures; do
cp -r "$srcdir/$_pkgname-$pkgver/$subdir/" "$pkgdir/usr/lib/$pkgname"
done
@@ -53,4 +56,5 @@ package() {
rm -v $pkgdir/usr/lib/$pkgname/plugins/import_export/wpc_yafray{.beam,_{de,en,fr,ko}.lang}
}
+# getver: wings3d.com/?page_id=84
# vim:set ts=2 sw=2 et: