blob: 5b44d6ce9a790ca4465efd3181d41bc2bce4b554 (
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
39
40
41
42
43
44
45
|
# Maintainer: Lubosz Sarnecki <lubosz at gmail dot com>
# Contributor : Johnathan Jenkins <twodopeshaggy@gmail.com>
# Contributor: Drew Liszewski <drew dot liszewski at gmail dot com>
# Contributor: Daniel Varga <varga dot daniel at gmx dot de>
pkgname=emulationstation-git
pkgrel=1
epoch=1
pkgver=2.4.1.r866.ga72ca013
pkgdesc="Flexible emulator front-end supporting keyboardless navigation and custom system themes. Active fork by the RetroPie project."
arch=(x86_64 i686 armv6h armv7h)
url="https://github.com/RetroPie/EmulationStation"
license=(MIT)
depends=(freeimage libvlc curl pugixml freetype2 sdl2 alsa-lib glibc gcc-libs libglvnd)
makedepends=(git cmake rapidjson)
provides=(emulationstation)
conflicts=(emulationstation)
source=('git+https://github.com/RetroPie/EmulationStation.git')
sha256sums=('SKIP')
pkgver() {
cd EmulationStation
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
local _flags=(
)
cmake -B build -S "EmulationStation" -Wno-dev \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
"${_flags[@]}"
cmake --build build
}
package() {
cd EmulationStation
# No install target..., should be fixed upstream
# make DESTDIR="$pkgdir" install
install -Dm755 "emulationstation" -t "${pkgdir}/usr/bin/"
install -Dm644 "LICENSE.md" -t "$pkgdir/usr/share/licenses/${pkgname}/"
}
|