diff options
author | Aurélien DESBRIÈRES <aurelien@hackers.camp> | 2014-06-15 15:36:03 +0200 |
---|---|---|
committer | Aurélien DESBRIÈRES <aurelien@hackers.camp> | 2014-06-15 15:36:03 +0200 |
commit | 1cba978702feff9a523baa185796f520602baffe (patch) | |
tree | 7c9a85ba36d7896ec67319c218cad52cafce877e /libre/wings3d-libre/PKGBUILD | |
parent | 6ca2416b334e0bed864cc0707ff361fd585829f0 (diff) | |
parent | f7fd1d99d87f11c41cf09f881b1aeb950a3c8e13 (diff) | |
download | abslibre-1cba978702feff9a523baa185796f520602baffe.tar.gz abslibre-1cba978702feff9a523baa185796f520602baffe.tar.bz2 abslibre-1cba978702feff9a523baa185796f520602baffe.zip |
Merge branch 'master' of ssh://parabola-git/srv/git/abslibre/abslibre
Diffstat (limited to 'libre/wings3d-libre/PKGBUILD')
-rw-r--r-- | libre/wings3d-libre/PKGBUILD | 43 |
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: |