blob: 82cb9bc77246ab32d02e747d68082e42950e3619 (
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
34
35
36
|
# Maintainer: Oliver Jaksch <arch-aur@com-in.de>
pkgname=libretro-hatari-enhanced-git
pkgver=5546.46dc6d95
pkgrel=1
pkgdesc="libretro implementation of Hatari v1.8 (Atari ST/STE/TT/Falcon) with IPF support"
arch=('x86_64')
url="https://github.com/libretro/hatari"
license=('GPL2')
groups=('libretro')
depends=('capsimage' 'zlib' 'glibc' 'libretro-core-info')
makedepends=('git')
_libname=hatari_libretro
_libnewname=hatari_enhanced_libretro
_gitname=hatari
source=("git+https://github.com/libretro/${_gitname}.git"
"capsimage.patch")
sha256sums=('SKIP'
'9f53cc41753b285792295bcd56423223e1d24efcbc3c81055dbbc15812472a2d')
pkgver() {
cd "${_gitname}"
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
build() {
cd ${_gitname}
patch < ../capsimage.patch
make -f Makefile.libretro EXTERNAL_ZLIB=1
}
package() {
install -Dm644 "${_gitname}/${_libname}.so" "${pkgdir}/usr/lib/libretro/${_libnewname}.so"
}
|