blob: bee0c90591aed2feed7e1a8bc68c67c85031cc74 (
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
|
# Maintainer: Mewp <aur.archlinux.org@mewp.pl>
pkgname=emptyepsilon
pkgver=2016.09.02
pkgrel=1
epoch=
pkgdesc="Open source spaceship bridge simulator"
arch=('x86' 'x86_64')
url="https://github.com/daid/EmptyEpsilon"
license=('GPL2')
groups=()
depends=('sfml')
makedepends=('cmake' 'git' 'mesa')
source=("git+https://github.com/daid/EmptyEpsilon.git#tag=EE-$pkgver"
"git+https://github.com/daid/SeriousProton.git#tag=EE-$pkgver")
sha256sums=('SKIP' 'SKIP')
build() {
cd $srcdir/EmptyEpsilon/
cmake -DSERIOUS_PROTON_DIR=../SeriousProton/ \
-DCMAKE_CXX_FLAGS='-DINSTALL_PREFIX=\"/usr\"' \
-DCMAKE_INSTALL_PREFIX=/usr \
.
make
}
prepare() {
patch -Np1 < ../fixed-version.patch
}
package() {
cd $srcdir/EmptyEpsilon
make DESTDIR="$pkgdir/" install
}
|