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

pkgname=libretro-pcsx2-launcher
pkgver=1.1.1
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')
depends=('pcsx2' 'libretro-core-info')
groups=('libretro')
source=("libretro-pcsx2::https://github.com/coldscientist/libretro-pcsx2-launcher/archive/$pkgver.tar.gz")
sha256sums=(223894a0342be428f21914e8398cbc95f5dc394fcef66c848ebbe414a1259bdd)
_dir="libretro-pcsx2-launcher-$pkgver"

build() {
  cd $_dir
  make
}

package() {
  install -Dm644 $_dir/dolphin_launcher_libretro.so "${pkgdir}/usr/lib/libretro/pcsx2_launcher_libretro.so"
  install -Dm644 $_dir/dolphin_launcher_libretro.info "${pkgdir}/usr/share/libretro/info/pcsx2_launcher_libretro.info"
  install -D -m644 $_dir/LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}