Created
April 18, 2015 16:55
-
-
Save Holzhaus/c3cca9881e35a6c3254a to your computer and use it in GitHub Desktop.
PKGBUILD for libretro-pocketsnes-git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: mfussenegger | |
# Contributor: Jan Holthuis <holthuis dot jan at googlemail dot com> | |
pkgname=libretro-pocketsnes-git | |
pkgver=r15.ac83fb2 | |
pkgrel=1 | |
pkgdesc="ARM based SNES emulator for libretro" | |
arch=('arm' 'armv6h' 'armv7h') | |
url="https://github.com/libretro/pocketsnes-libretro" | |
license=('custom') | |
makedepends=('git') | |
conflicts=('libretro-super-git') | |
_gitname="pocketsnes-libretro" | |
source=("git+https://github.com/libretro/${_gitname}.git") | |
sha1sums=('SKIP') | |
pkgver() { | |
cd "$srcdir/${_gitname}" | |
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | |
} | |
build() | |
{ | |
cd "$srcdir/${_gitname}" | |
make | |
} | |
package() | |
{ | |
mkdir -p "$pkgdir/usr/lib/libretro" | |
install -m755 "$srcdir/${_gitname}/libretro.so" "$pkgdir/usr/lib/libretro/libretro-pocketsnes.so" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment