diff options
author | Rafael Fontenelle | 2016-12-04 07:32:06 -0200 |
---|---|---|
committer | Rafael Fontenelle | 2016-12-04 07:32:06 -0200 |
commit | e7ea52f8160f1582d7d6ac0127fb8ff16ecee5e3 (patch) | |
tree | 4d0a521da8b653c21c437f449c640f9034205d32 /PKGBUILD | |
parent | 173c67e2095b635a7c2bd9a49d7ce8bf980bbc7c (diff) | |
download | aur-e7ea52f8160f1582d7d6ac0127fb8ff16ecee5e3.tar.gz |
Remove gendesk and add appdata
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -1,15 +1,15 @@ # Contributor: Lari Tikkanen <lartza@wippies.com> -# Maintainer: josephgbr <rafael.f.f1@gmail.com> +# Maintainer: Rafael Fontenelle <rafaelff@gnome.org> pkgname=teeworlds-git -pkgver=0.7.start.574.ge592d1b +pkgver=0.7.start.770.g0a8ce05 pkgrel=1 pkgdesc='Multiplayer 2D shooter' arch=('i686' 'x86_64') url="http://teeworlds.com" license=('custom') depends=('alsa-lib' 'glu' 'mesa' 'gcc-libs' 'sdl2' 'freetype2') -makedepends=('python' 'git' 'bam' 'imagemagick' 'gendesk') +makedepends=('python' 'git' 'bam' 'imagemagick') provides=('teeworlds') conflicts=('teeworlds') source=(git+https://github.com/teeworlds/teeworlds.git @@ -24,8 +24,6 @@ pkgver() { prepare() { convert "teeworlds/other/icons/Teeworlds.ico" "$srcdir/teeworlds.png" - gendesk -f -n --pkgname "teeworlds" --pkgdesc "$pkgdesc" \ - --name 'Teeworlds' --categories 'Game;ArcadeGame' cd teeworlds git submodule init @@ -43,7 +41,7 @@ package() { cd teeworlds install -dm755 "$pkgdir"/usr/bin \ - "$pkgdir"/usr/share/{applications,pixmaps} \ + "$pkgdir"/usr/share/{applications,pixmaps,appdata} \ "$pkgdir"/usr/share/{licenses/teeworlds,teeworlds/data} # Install data files @@ -53,7 +51,7 @@ package() { install -m755 build/$CARCH/debug/teeworlds_srv "$pkgdir"/usr/bin/teeworlds_srv install -m644 license.txt "$pkgdir"/usr/share/licenses/teeworlds/ - install -m644 ../teeworlds.desktop "$pkgdir"/usr/share/applications/ + install -m644 other/teeworlds.appdata.xml "$pkgdir"/usr/share/appdata/ + install -m644 other/teeworlds.desktop "$pkgdir"/usr/share/applications/ install -m644 ../teeworlds-0.png "$pkgdir"/usr/share/pixmaps/teeworlds.png - } |