aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: 63206d741ff71699741e96d97f47be6975564fd0 (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
# Maintainer: Johannes Löthberg <johannes@kyriasis.com>
# Contributor: Vinícius dos Santos Oliveira <vini.ipsmaker@gmail.com>
# Contributor: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>

pkgname=openhexagon
pkgver=1.92
pkgrel=3
pkgdesc="C++ open source clone of Super Hexagon. (binary)"
arch=('i686' 'x86_64')
url="http://vittorioromeo.info/projects.html"
options=(!strip)
license=('custom:AFL')
depends=('openal')
source=('http://vittorioromeo.info/Downloads/OpenHexagon/Linux/OpenHexagonV1.92.tar.gz'
		'https://raw.github.com/SuperV1234/SSVOpenHexagon/master/LICENSE')
md5sums=('bda07a9d91a9dd8538d9a7a26562de69'
		 '808282b4d6cf58dacf16fae6068bd030')

package() {
	install -d "$pkgdir"/opt/OpenHexagon1.92
	cp -r OpenHexagon1.92 "$pkgdir"/opt/

	install -d "$pkgdir"/usr/bin
	ln -s /opt/OpenHexagon1.92/OpenHexagon "$pkgdir"/usr/bin/openhexagon

	# Need world writeable Profiles for creating profiles and config for... config
	chmod 777 "$pkgdir"/opt/OpenHexagon1.92/{Profiles,config.json}

	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

# vim: set ts=4 sw=4 noet: