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
# Maintainer: almostalive <almostalive2003 at lavabit dot com>

pkgname=libretro-pcsx_rearmed-git
_gitname=pcsx_rearmed
pkgver=2013.05.27_r15_333_g9b56b10
pkgrel=1
pkgdesc="libretro implementation of PCSX-ReARMed. (PlayStation)"
arch=('i686' 'x86_64' 'arm' 'armv6h')
url="https://github.com/libretro/pcsx_rearmed"
license=('custom')
makedepends=('git')
conflicts=('libretro-super-git')
source=('git://github.com/libretro/pcsx_rearmed.git')
md5sums=('SKIP')

pkgver() {
  cd $_gitname
  echo "$(git log -1 --format="%cd" --date=short | sed 's|-|.|g')_$(git describe --always | sed 's/-/_/g')"
}

build() {
  cd $_gitname
  ./configure --platform=libretro || return 1
  make || return 1
}

package()
{
   mkdir -p $pkgdir/usr/lib/libretro
   install -v -m644 $srcdir/$_gitname/libretro.so $pkgdir/usr/lib/libretro/libretro-pcsx_rearmed.so
}

This paste never expires. View raw. Pasted through import.