Date: Sunday, March 3, 2013 @ 06:20:41 Author: cinelli Revision: 85555
upgpkg: winegame 0.2.0-2 added install file Added: winegame/trunk/winegame.install Modified: winegame/trunk/PKGBUILD ------------------+ PKGBUILD | 13 ++++++++++--- winegame.install | 9 +++++++++ 2 files changed, 19 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-03-03 05:17:35 UTC (rev 85554) +++ PKGBUILD 2013-03-03 05:20:41 UTC (rev 85555) @@ -1,18 +1,25 @@ # $Id$ -# Maintainer: Laurent Carlier <lordhea...@gmail.com> +# Maintainer: Federico Cinelli <cine...@aur.archlinux.com> +# Contributor: Laurent Carlier <lordhea...@gmail.com> pkgname=winegame pkgver=0.2.0 pkgrel=2 pkgdesc="An interface to install windows programs in Wine" arch=('i686' 'x86_64') +install=winegame.install url="http://code.google.com/p/winegame/" license=('GPL3') -depends=('libnotify' 'winestuff') +depends=('winestuff') +optdepends=('libnotify: Desktop notifaction support') makedepends=('cmake') -source=(http://winegame.googlecode.com/files/$pkgname-$pkgver.tar.gz) +source=("http://winegame.googlecode.com/files/$pkgname-$pkgver.tar.gz") md5sums=('631dd218707c6efb2901ef1206092538') +if [[ $CARCH == "x86_64" ]]; then + depends+=('lib32-mesa-libgl') +fi + build() { cd "$srcdir/$pkgname-$pkgver" Added: winegame.install =================================================================== --- winegame.install (rev 0) +++ winegame.install 2013-03-03 05:20:41 UTC (rev 85555) @@ -0,0 +1,9 @@ +post_install () { + update-desktop-database -q +} +post_upgrade () { + post_install +} +post_removal () { + post_install +}