blob: 175d286912c4073a7149ce257342ae3078b3bf37 (
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: Julian Xhokaxhiu <info at julianxhokaxhiu dot com>
# Contributor: almostalive <almostalive2003 at gmail dot com>
# Contributor: Themaister <maister@archlinux.us>
pkgname=retroarch-rbp-git
pkgver=1.2.1.3581.g3433a51
pkgrel=1
pkgdesc="Reference frontend for the libretro API."
arch=('arm' 'armv6h' 'armv7h')
url="http://github.com/libretro/RetroArch"
license=('GPL')
depends=('ffmpeg' 'jack2' 'mesa' 'mesa-libgl' 'libusb' 'libxinerama' 'libxkbcommon' 'libxv' 'openal' 'python' 'sdl2')
makedepends=('git')
provides=('retroarch' 'retroarch-git')
conflicts=('retroarch')
_gitname=RetroArch
source=("git+https://github.com/libretro/${_gitname}.git")
md5sums=('SKIP')
pkgver() {
cd "${_gitname}"
local version=$(git describe --tags)
local version=${version/v/}
local version=${version//-/.}
echo $version
}
build() {
cd "${_gitname}"
./configure --prefix=/usr
make
}
package() {
cd "${_gitname}"
make install DESTDIR="${pkgdir}"
}
|