archrelease: copy trunk to community-any
[ArchLinux/community.git] / libretro-reicast / trunk / PKGBUILD
blobdfc60d72266b21e906ea1e59dde996fb39873f05
1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
3 pkgname=libretro-reicast
4 pkgver=3485
5 pkgrel=1
6 pkgdesc='Sega Dreamcast core'
7 arch=(x86_64)
8 url='https://github.com/libretro/reicast-emulator'
9 license=(GPL2)
10 groups=(libretro)
11 depends=(
12   libgl
13   libretro-core-info
15 makedepends=(
16   git
17   mesa
19 _commit='57b76774c6f5a9c5830b911f701a3cc99ae2c16a'
20 source=(
21   libretro-reicast::git+https://github.com/libretro/reicast-emulator.git#commit=${_commit}
22   libretro-reicast-flags.patch
24 sha256sums=(
25   SKIP
26   051f6fda81d816a8f8c58748565ba4db73a18d0d788e520dc343839471606709
29 pkgver() {
30   cd libretro-reicast
32   git rev-list --count HEAD
35 prepare() {
36   cd libretro-reicast
38   patch -Np1 -i ../libretro-reicast-flags.patch
41 build() {
42   make -C libretro-reicast
45 package() {
46   install -Dm 644 libretro-reicast/reicast_libretro.so -t "${pkgdir}"/usr/lib/libretro/
49 # vim: ts=2 sw=2 et: