summaryrefslogtreecommitdiff
path: root/community/winegame/PKGBUILD
blob: 7555b9814e5a054eaca2b2ff3a9c5ee706957404 (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 25462 2010-09-05 08:42:22Z lcarlier $
# Maintainer: Laurent Carlier <lordheavym@gmail.com>

pkgname=winegame
pkgver=0.2.0
pkgrel=1
pkgdesc="An interface to install windows programs in Wine"
arch=('i686' 'x86_64' 'mips64el')
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
}