Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
blob: c675e0ca3dbef598ce3f351c8cbac3f3cf80bcaf (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
45
46
47
48
#
# Maintainer: Stijn Buys <ingar@telenet.be>
#

pkgname=osirion
pkgver=0.2.8
pkgrel=1
pkgdesc="A free space trading and combat simulation with open gameplay"
url="http://osirion.org/"
arch=('x86_64' 'armv7h')
license=('GPL')
depends=('zlib' 'bullet' 'libjpeg' 'libpng' 'libvorbis' 'libogg' 'flac' 'sdl2' 'libgl' 'glu' 'openal')
makedepends=('automake' 'autoconf')
optdepends=(i'ncurses')
provides=('osirion')
conflicts=('osirion-server' 'osirion-git' 'osirion-server-git')
backup=()
options=()
source=("http://osirion.org/files/${pkgname}-${pkgver}-src.tar.bz2"
	"http://osirion.org/files/${pkgname}-${pkgver}-data.zip")
sha256sums=('2b164ad11e2907eafb2200585afd400bdfe6eacd94d4c40a29c5750e4a2ccc6d'
    	'dfa2e9ed814c03bcc0f7b4b14f5e981a6762762306ac131adb57c6a190512c74')

prepare() {
	cd "${srcdir}/${pkgname}-${pkgver}-src"

}

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

	./configure \
		--prefix=/usr

	./configure \
		--prefix=/usr \
		--disable-debug
	make
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}-src"
	make DESTDIR="${pkgdir}" install

	cd "${srcdir}"
	install -D --mode=644 --directory "${srcdir}/data" "${pkgdir}/usr/share/osirion/data"
}