summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0850590c6bbd082be8b160f43d4997ef6a514004 (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
# Maintainer: Eugene Lebedev <satanych13+dev@gmail.com>

pkgname=libretro-pcsx2-git
pkgver=46.bc78bf9
pkgrel=1
pkgdesc="Launch Sony PlayStation 2 games through PCSX2, directly from RetroArch."
arch=('x86_64')
url="https://github.com/coldscientist/libretro-pcsx2-launcher"
license=('MIT')
conflicts=('libretro-pcsx2')
provides=('libretro-pcsx2')
depends=('pcsx2' 'libretro-core-info')
makedepends=('git')
groups=('libretro')

source=("libretro-pcsx2::git+https://github.com/coldscientist/libretro-pcsx2-launcher.git")

sha256sums=(SKIP)

pkgver() {
  cd libretro-pcsx2
  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

build() {
  cd libretro-pcsx2
  make
}

package() {
  install -Dm644 libretro-pcsx2/dolphin_launcher_libretro.so "${pkgdir}/usr/lib/libretro/pcsx2_launcher_libretro.so"
  install -Dm644 libretro-pcsx2/dolphin_launcher_libretro.info "${pkgdir}/usr/share/libretro/info/pcsx2_launcher_libretro.info"
}