summaryrefslogtreecommitdiff
path: root/multilib/winestuff/PKGBUILD
blob: bdb5cb5681f63963e0bac4ae422c3058d2e788ea (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
# $Id: PKGBUILD 66336 2012-02-23 16:29:35Z lcarlier $
# Maintainer: Laurent Carlier <lordheavym@gmail.com>

pkgname=winestuff
pkgver=0.2.0
pkgrel=2
pkgdesc="Library utility for winegame"
arch=('i686' 'x86_64')
url="http://code.google.com/p/winegame/"
license=('LGPL2.1')
makedepends=('qt' '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() {
  depends=('qt' 'fuseiso' 'winetricks')

  cd "$srcdir/$pkgname-$pkgver/build"

  make DESTDIR="$pkgdir/" install
}