diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-05-25 18:48:25 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-05-25 18:49:36 -0300 |
commit | 3e5b611463106cc4c50db5cb4fcc4c71e1923d90 (patch) | |
tree | a1ba2124a867b56740b327aa6992b6a0cb6e705d | |
parent | 217f3b2956fe4c73dadd3b118a5b13ca6aa619bd (diff) |
wings3d-1.5.4-2.parabola1: hooks rebuild
-rw-r--r-- | libre/wings3d/PKGBUILD | 18 | ||||
-rw-r--r-- | libre/wings3d/wings3d.install | 13 |
2 files changed, 11 insertions, 20 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: diff --git a/libre/wings3d/wings3d.install b/libre/wings3d/wings3d.install deleted file mode 100644 index ad97d7bab..000000000 --- a/libre/wings3d/wings3d.install +++ /dev/null @@ -1,13 +0,0 @@ -post_upgrade() { - update-desktop-database -q -} - -post_install() { - post_upgrade -} - -post_remove() { - post_upgrade -} - -# vim:set ts=2 sw=2 et: |