summaryrefslogtreecommitdiff
path: root/community/winestuff/PKGBUILD
blob: 0a1e18ea3c429d9fb74ae0fbd28b33c00cd3e863 (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
# $Id$
# Maintainer: Laurent Carlier <lordheavym@gmail.com>

pkgname=winestuff
pkgver=0.2.0
pkgrel=1
pkgdesc="Library utility for winegame"
arch=('i686' 'x86_64')
url="http://code.google.com/p/winegame/"
license=('LGPL2.1')
depends=('qt' 'fuseiso' 'winetricks')
makedepends=('cmake')
source=(http://winegame.googlecode.com/files/$pkgname-$pkgver.tar.gz)
md5sums=('a01f55d30bd0e1dcee3a44aa0fa5369d')

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

  mkdir -p build
  cd build

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

  make translations
  make
}

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

  make DESTDIR="$pkgdir/" install
}