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

pkgname=hatari-enhanced-git
realpkgname=hatari
pkgver=v2.4.1.560.gdd0c3b99
pkgrel=1
pkgdesc='An Atari ST and STE emulator. This build uses capsimage for using IPF and STX disk images.'
arch=('x86_64')
url='http://hatari.sourceforge.net/'
license=('GPL')
depends=('sdl2' 'libpng' 'portaudio' 'systemd-libs' 'hicolor-icon-theme' 'capsimage')
makedepends=('cmake' 'git' 'systemd')
conflicts=('hatari')
source=("git://git.tuxfamily.org/gitroot/hatari/hatari.git")
sha256sums=('SKIP')

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

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

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