summaryrefslogtreecommitdiff
path: root/multilib/winegame/PKGBUILD
blob: b1e038d1867e90b670174566eef2a76ffd8b1f5c (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
# $Id: PKGBUILD 66338 2012-02-23 16:33:57Z lcarlier $
# Maintainer: 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')
url="http://code.google.com/p/winegame/"
license=('GPL3')
depends=('libnotify' 'winestuff')
makedepends=('cmake')
source=(http://winegame.googlecode.com/files/$pkgname-$pkgver.tar.gz)
md5sums=('631dd218707c6efb2901ef1206092538')

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
}