summaryrefslogtreecommitdiff
path: root/libre/wings3d-libre/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-06-14 19:20:46 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-06-14 19:20:46 -0400
commitf7fd1d99d87f11c41cf09f881b1aeb950a3c8e13 (patch)
tree95910fb3078e1136e35aaa6d9f0f251cdb4ca1a8 /libre/wings3d-libre/PKGBUILD
parent09c1bb45d89c78a9fd80c7a500cb29a0908dc668 (diff)
parentcd640e7ca0a8968edf887d03db8224334f663e84 (diff)
downloadabslibre-f7fd1d99d87f11c41cf09f881b1aeb950a3c8e13.tar.gz
abslibre-f7fd1d99d87f11c41cf09f881b1aeb950a3c8e13.tar.bz2
abslibre-f7fd1d99d87f11c41cf09f881b1aeb950a3c8e13.zip
Merge branch 'master' of git://projects.parabolagnulinux.org/abslibre
Diffstat (limited to 'libre/wings3d-libre/PKGBUILD')
-rw-r--r--libre/wings3d-libre/PKGBUILD43
1 files changed, 17 insertions, 26 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: