summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 077e4c257386bb0c6a3a687820889307435ebce5 (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.5.0.148.g17bec54e
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
}