summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5482c53dae3f49b5bfb6f4c3561aa4f8b82da3d0 (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
# Maintainer: Christer Solskogen <christer.solskogen@gmail.com>
# Contributor: Oliver Jaksch <arch-aur@com-in.de>
# Contributor:  John "Beelzebud" Bilbrey <beelzebud> at Geemail dot com

_pkgname=hatari
pkgname=${_pkgname}-git
pkgver=v2.5.0.264.gd635e360
pkgrel=1
pkgdesc='An Atari ST and STE emulator' 
arch=('x86_64' 'aarch64' 'armv7h')
url='https://www.hatari-emu.org/' 
license=('GPL')
depends=('sdl2' 'libpng' 'portaudio' 'systemd-libs' 'hicolor-icon-theme' 'capsimage' 'capstone')
makedepends=('cmake' 'git' 'systemd')
conflicts=('hatari')
source=("git+https://framagit.org/hatari/hatari.git")
sha256sums=('SKIP')

pkgver() {
	cd $_pkgname
	git describe --long | sed "s/\([^-]*-g\) /r\1/;s/-/./g"
}

build() {
  cd ${_pkgname}
  ./configure --prefix=/usr
  make
}

package() {
  cd ${_pkgname}
  make DESTDIR="${pkgdir}" install
}