summaryrefslogtreecommitdiff
path: root/community/winegame/PKGBUILD
blob: 6df4bc45a11b894e4ddbf51614eccadea7b10266 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# $Id: PKGBUILD 85556 2013-03-03 05:22:22Z cinelli $
# Maintainer:  Federico Cinelli <cinelli@aur.archlinux.com>
# Contributor: Laurent Carlier <lordheavym@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=('winestuff')
optdepends=('libnotify: Desktop notifaction support')
makedepends=('cmake')
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"

  mkdir -p build
  cd build

  cmake -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr ..

  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver/build"

  make DESTDIR="$pkgdir/" install
}