# Maintainer: Oliver Jaksch # Contributor: Mike Polvere # Contributor: Johnathan Jenkins # Contributor: prettyvanilla # Contributor: almostalive pkgname=libretro-stella2014-git pkgver=266.ceed5a5 pkgrel=1 pkgdesc="libretro implementation of Stella. (Atari 2600)" arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h') url="https://github.com/libretro/stella2014-libretro" license=('GPL2') groups=('libretro') depends=('zlib' 'glibc' 'libretro-core-info') makedepends=('git') conflicts=('libretro-stella-git') _libname=stella2014_libretro _gitname=stella2014-libretro source=("git+https://github.com/libretro/${_gitname}.git") sha256sums=('SKIP') pkgver() { cd "${_gitname}" echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) } build() { cd "${_gitname}" make } package() { install -Dm644 "${_gitname}/${_libname}.so" "${pkgdir}/usr/lib/libretro/${_libname}.so" }