summaryrefslogtreecommitdiff
path: root/community/winestuff/PKGBUILD
blob: 1e0b25b0d957c16aa0b1f67112dc41dac4cc18e8 (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' 'mips64el')
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
}