blob: ed641a7fc863a3e58ac9e0b9bbc34761aca37ef8 (
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: Thomas Schneider <maxmusterm@gmail.com>
# Contributor: almostalive <almostalive2003 at gmail dot com>
# Contributor: Themaister <maister@archlinux.us>
pkgname=retroarch-rbp-git
pkgver=1.2.2.201.g371f6c8
pkgrel=1
pkgdesc="Reference frontend for the libretro API."
arch=('arm' 'armv6h' 'armv7h')
url="http://github.com/libretro/RetroArch"
license=('GPL')
optdepends=('libretro-super-git: A collection of many libretro implementations.')
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}"
}
|