summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c5d31b0ff40d54652d3feca307a81e4a38cc161b (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: Matthias Mailänder <matthias@mailaender.name>
pkgname=openhv
pkgver=20240908
pkgrel=1
pkgdesc="An open-source pixel-art science-fiction real-time-strategy game."
arch=('any')
url="https://www.openhv.net"
license=('GPL3')
depends=('dotnet-sdk-6.0' 'openal' 'libgl' 'freetype2' 'sdl2' 'lua51' 'hicolor-icon-theme'
         'gtk-update-icon-cache' 'desktop-file-utils' 'xdg-utils' 'zenity')
makedepends=('git' 'unzip')
options=(!debug)
source=("git+https://github.com/OpenHV/OpenHV.git#tag=${pkgver}")
sha512sums=('SKIP')

prepare() {
  cd OpenHV

  make version
}

build() {
  cd OpenHV

  make RUNTIME=net6 TARGETPLATFORM=unix-generic
}

package() {
  cd OpenHV

  make prefix=/usr TARGETPLATFORM=unix-generic DESTDIR="$pkgdir" install
}