summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a3af2b1cfec194f501ea0c79db0f8364beae1f23 (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
36
37
38
39
40
41
42
43
44
# Maintainer : Michael DeGuzis <mdeguzis@gmail.com>

pkgname=play-emu-git
_gitname=Play-Build
pkgver=r3.462d986
pkgrel=2
pkgdesc="Play! is an experimental Playstation 2 emulator."
arch=('i686' 'x86_64')
url="https://github.com/jpd002"
license=('GPL')
makedepends=('git')
depends=('boost' 'cmake' 'glew' 'mysql++' 'openal' 
	 'qt5-base' 'zlib')
source=('Play-Build::git+https://github.com/jpd002/Play-Build.git')
md5sums=('SKIP')

pkgver() {

  cd $_gitname
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"

}

prepare () {

  cd $_gitname
  git submodule init
  git submodule update

}

build() {

	cd $_gitname/Play/build_unix
	./build.sh
	
}

package() {

	install -d $pkgdir/usr/bin
	install -m755 $srcdir/$_gitname/Play/build_unix/build-ui/Play-Ui $pkgdir/usr/bin/play

}