diff options
author | bgyorgy | 2021-05-02 19:52:46 +0000 |
---|---|---|
committer | Santiago Torres Arias | 2021-05-02 19:52:46 +0000 |
commit | 295a4c46c72db30442420c1b238e57a3ced245ba (patch) | |
tree | 0c6c2c8b51e2f1888e530e00efd1db7972db5313 | |
parent | ec687f20120fa243bc755e92d08e1596d50653e1 (diff) | |
download | aur-295a4c46c72db30442420c1b238e57a3ced245ba.tar.gz |
upgpkg: wings3d 2.2.5-4: Add larger icon, add AppStream metadata file
git-svn-id: file:///srv/repos/svn-community/svn@926187 9fca08f4-af9d-4005-b8df-a31f2cc04f65
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 9 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = wings3d pkgdesc = 3D modeler using the winged edge data structure pkgver = 2.2.5 - pkgrel = 3 + pkgrel = 4 url = http://www.wings3d.com/ arch = x86_64 license = GPL @@ -3,7 +3,7 @@ pkgname=wings3d pkgver=2.2.5 -pkgrel=3 +pkgrel=4 pkgdesc='3D modeler using the winged edge data structure' arch=(x86_64) url='http://www.wings3d.com/' # https is not available @@ -18,11 +18,12 @@ sha256sums=('95ecf84a8f49bc00b983643e7ccd807f64a3b8b88253037a8ccefbe7a3bedff8' prepare() { gendesk -f -n \ - --name Wings3D \ + --name 'Wings 3D' \ --pkgname $pkgname \ --pkgdesc "$pkgdesc" \ --genericname '3D Modeler' \ --categories 'Graphics;3DGraphics' + sed -i "/desktop-id/ s/com.wings3d.WINGS.desktop/$pkgname.desktop/" ${pkgname%3d}-$pkgver/unix/wings.appdata.xml } build() { @@ -33,9 +34,11 @@ build() { package() { install -Dm755 wings.sh "$pkgdir/usr/bin/$pkgname" install -Dm644 -t "$pkgdir/usr/share/applications" $pkgname.desktop - cd ${pkgname%3d}-$pkgver/icons - install -Dm644 wings_icon_48x48.png "$pkgdir/usr/share/pixmaps/$pkgname.png" - cd ../build + cd ${pkgname%3d}-$pkgver + install -Dm644 icons/wings_icon_48x48.png "$pkgdir/usr/share/icons/hicolor/48x48/apps/$pkgname.png" + install -Dm644 icons/wings_icon_256x256.png "$pkgdir/usr/share/icons/hicolor/256x256/apps/$pkgname.png" + install -Dm644 unix/wings.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml" + cd build install -d "$pkgdir/usr/lib/$pkgname" cp -r wings-$pkgver-linux/lib/wings-$pkgver/* "$pkgdir/usr/lib/$pkgname" } |