blob: 26d718e302fc45cf2d64f5a8cfbd4d1adb870fbb (
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
|
# Maintainer: mfussenegger
# Contributor: Jan Holthuis <holthuis dot jan at googlemail dot com>
pkgname=libretro-pocketsnes-git
pkgver=r17.79f6be5
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"
}
|