blob: b4dc40f440fd76e8474e15fa521d537d2bb2fd62 (
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
37
38
|
# Maintainer: Cecile Tonglet <cecile.tonglet@gmail.com>
# Contributor: Tomasz Paś <kierek93@gmail.com>
# Contributor: prettyvanilla <prettyvanilla@posteo.at>
# Contributor: almostalive <almostalive2003 at gmail dot com>
pkgname=libretro-pcsx-rearmed-git
pkgver=1358.c6e7ce9
pkgrel=1
pkgdesc="libretro implementation of PCSX ReARMed. (PlayStation)"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h')
url="https://github.com/libretro/pcsx_rearmed"
license=('GPL')
conflicts=('libretro-pcsx_rearmed-git')
depends=('zlib' 'libretro-core-info')
makedepends=('git')
groups=('libretro')
_libname=pcsx_rearmed_libretro
_gitname=pcsx_rearmed
source=("git+https://github.com/libretro/${_gitname}.git")
md5sums=('SKIP')
pkgver() {
cd "${_gitname}"
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
build() {
cd "${_gitname}"
# detect Raspberry Pi 2 and 3
grep -q 'Hardware.\+BCM2835' /proc/cpuinfo && export platform=rpi2
make -f Makefile.libretro
}
package() {
install -Dm644 "${_gitname}/${_libname}.so" "${pkgdir}/usr/lib/libretro/${_libname}.so"
}
|